[Overview][Constants][Types][Classes][Procedures and functions][Variables] |
Callback for the TReader.OnSetMethodPropertyevent.
Source position: classesh.inc line 891
type TSetMethodPropertyEvent = procedure( |
Reader: TReader; |
Instance: TPersistent; |
PropInfo: PPropInfo; |
const TheMethodName: String; |
var Handled: Boolean |
) of object; |
TSetMethodPropertyEventis the prototype for the TReader.OnSetMethodPropertyevent. 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, and TheMethodNameis the name of the method that the property should be set to. Handledshould be set to Trueif the handler set the property succesfully.