[Overview][Constants][Types][Classes][Procedures and functions][Variables] |
Callback for the TReader.OnPropertyNotFoundevent.
Source position: classesh.inc line 902
type TPropertyNotFoundEvent = procedure( |
Reader: TReader; |
Instance: TPersistent; |
var PropName: String; |
IsPath: Boolean; |
var Handled: Boolean; |
var Skip: Boolean |
) of object; |
TPropertyNotFoundEventis the prototype for the TReader.OnPropertyNotFoundevent. Readeris the sender of the event, Instanceis the instance that is being streamed. PropInfois a pointer to the RTTI information for the property being read. Handledshould be set to Trueif the handler redirected the unknown property succesfully, and Skipshould be set to Trueif the value should be skipped. IsPathdetermines whether the property refers to a sub-property.
|
Handler for treating missing properties. |