Sign in Join
FPDoc Onlineexperiment

TPropertyNotFoundEvent procedure type

In unit Classes

Callback for the OnPropertyNotFound event.

Declaration

pascal
TPropertyNotFoundEvent = procedure(Reader: TReader; 
 Instance: TPersistent; 
 var PropName: string; 
 IsPath: Boolean; 
 var Handled: Boolean; 
 var Skip: Boolean) of object

Description

TPropertyNotFoundEvent is the prototype for the OnPropertyNotFound event. Reader is the sender of the event, Instance is the instance that is being streamed. PropInfo is a pointer to the RTTI information for the property being read. Handled should be set to True if the handler redirected the unknown property successfully, and Skip should be set to True if the value should be skipped. IsPath determines whether the property refers to a sub-property.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.