Skip to main content
Table of Contents

ITMSMCPPersistence.CanLoadProperty Method

Determines whether the specified property should be applied when loading settings.

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

Syntax

TMS.MCP.Persistence.hppPascalC++
function CanLoadProperty(AObject: TObject; APropertyName: string; APropertyType: TTypeKind): Boolean;
virtual bool __fastcall CanLoadProperty(System::TObject* AObject, System::UnicodeString APropertyName, System::Typinfo::TTypeKind APropertyType) = 0;

Parameters

Name Description
AObject Object that owns the property.
APropertyName Name of the property to check.
APropertyType RTTI type kind of the property.

Returns

True to apply the loaded value to the property; False to skip it.