help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'Classes' (#rtl)

TPropertyNotFoundEvent

Callback for the TReader.OnPropertyNotFound event.

Declaration

Source position: classesh.inc line 913

type 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 TReader.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 succesfully, 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

TReader.OnPropertyNotFound

  

Handler for treating missing properties.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505