[Overview][Constants][Types][Classes][Procedures and functions][Variables] |
Callback for the TWriter.OnWriteMethodPropertyevent.
Source position: classesh.inc line 1076
type TWriteMethodPropertyEvent = procedure( |
Writer: TWriter; |
Instance: TPersistent; |
PropInfo: PPropInfo; |
const MethodValue: TMethod; |
const DefMethodCodeValue: Pointer; |
var Handled: Boolean |
) of object; |
TWriteMethodPropertyEventis the prototype for the TWriter.OnWriteMethodPropertyevent. Writeris the sender of the event, Instanceis the instance that is being streamed. PropInfois a pointer to the RTTI information for the property being written, and MethodValueis the value of the method that the property was set to. DefMethodCodeValueis set to the default value of the property (Nil or the parent value). Handledshould be set to Trueif the handler set the property succesfully.
|
Handler from writing method properties. |