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



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

TSetMethodPropertyEvent

Callback for the TReader.OnSetMethodProperty event.

Declaration

Source position: classesh.inc line 902

type TSetMethodPropertyEvent = procedure(

  Reader: TReader;

  Instance: TPersistent;

  PropInfo: PPropInfo;

  const TheMethodName: String;

  var Handled: Boolean

) of object;

Description

TSetMethodPropertyEvent is the prototype for the TReader.OnSetMethodProperty 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, and TheMethodName is the name of the method that the property should be set to. Handled should be set to True if the handler set the property succesfully.

Notes

 No notes exist for this page yet. 





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