Table of Contents

TTMSMCPPersistence.OnCustomWriteProperty Event

Fires before a property is written during serialization, allowing the handler to override the output.

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

Syntax

class OnCustomWriteProperty: TTMSMCPWriterCustomWritePropertyEvent;

Parameters

Name Description
AObject The object being serialized.
APropertyName Name of the property about to be written.
APropertyKind RTTI type kind of the property.
AWriter JSON writer; call its write methods to emit a custom value.
ACanWrite Set to False to skip writing this property.