Skip to main content
Table of Contents

TTMSMCPPersistence.IsReadOnly Method

Returns whether the given property has only a getter and no setter.

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

Syntax

TMS.MCP.Persistence.hppPascalC++
class function IsReadOnly(APropInfo: TTMSMCPPropertyInfo): Boolean; virtual;
__classmethod virtual bool __fastcall IsReadOnly(TTMSMCPPropertyInfo APropInfo);

Parameters

Name Description
APropInfo The property descriptor to check.

Returns

True if the property is read-only.