TSetMethodPropertyEvent procedure type
Callback for the OnSetMethodProperty event.
Declaration
TSetMethodPropertyEvent = procedure(Reader: TReader;
Instance: TPersistent;
PropInfo: PPropInfo;
const TheMethodName: string;
var Handled: Boolean) of objectDescription
TSetMethodPropertyEvent is the prototype for the
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 successfully.An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
