Skip to content

TReader.OnPropertyNotFound

Handler for treating missing properties.

Declaration

Source position: classesh.inc line 2095

public property OnPropertyNotFound: TPropertyNotFoundEvent;

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

Name Description
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.