Table of Contents

TTMSMCPReader.OnCustomReadProperty Event

Fires before each property is read, allowing the handler to override or skip it.

API unit family: TMS.MCP.Persistence Declaring type: TTMSMCPReader

Syntax

OnCustomReadProperty: TTMSMCPReaderCustomReadPropertyEvent;

Parameters

Name Description
AObject The object being deserialized.
APropertyName Name of the property about to be read.
APropertyKind RTTI type kind of the property.
AReader JSON reader positioned at the property value; read from it to supply a custom value.
ACanRead Set to False to skip this property and leave it at its current value.