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

TReader.OnPropertyNotFound

Handler for treating missing properties.

Declaration

Source position: classesh.inc line 1430

public property TReader.OnPropertyNotFound : TPropertyNotFoundEvent
  read FOnPropertyNotFound
  write FOnPropertyNotFound;

Description

OnPropertyNotFound can be used to take appropriate action when a property is read from a stream and no such property is found in the RTTI information of the Instance that is being read from the stream. It can be set at runtime, or at designtime by an IDE.

For more information about the meaning of the various arguments to the event handler, see TPropertyNotFoundEvent.

See also

TPropertyNotFoundEvent

  

Callback for the TReader.OnPropertyNotFound event.

TReader.OnSetMethodProperty

  

Handler for setting method properties.

TReader.OnReadStringProperty

  

Handler for translating strings when read from the stream.


Documentation generated on: Jun 22 2020