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

TReadWriteStringPropertyEvent

Callback for the TReader.OnReadStringPropertyevent handler

Declaration

Source position: classesh.inc line 909

type TReadWriteStringPropertyEvent = procedure(

  Sender: TObject;

  const Instance: TPersistent;

  PropInfo: PPropInfo;

  var Content: String

) of object;

Description

TReadWriteStringPropertyEventis the prototype for the TReader.OnReadStringPropertyevent handler. 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. Contentis the string as it was read from the stream.

See also

TReader.OnReadStringProperty

  

Handler for translating strings when read from the stream.