Skip to main content
Table of Contents

ITMSMCPPersistenceIO.NeedsObjectReference Method

Determines whether objects of the given class should be stored as reference tokens rather than inline JSON during serialization.

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

Syntax

TMS.MCP.Persistence.hppPascalC++
function NeedsObjectReference(const AClass: TClass): Boolean;
virtual bool __fastcall NeedsObjectReference(const System::TClass AClass) = 0;

Parameters

Name Description
AClass Class to test.

Returns

True to serialize instances of this class as reference tokens; False to serialize them inline.