Table of Contents

TTMSMCPPersistence.GetEnumName Method

Returns the string name for the given enumeration value.

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

Syntax

class function GetEnumName(ATypeInfo: PTypeInfo; AValue: Integer): string;

Parameters

Name Description
ATypeInfo The type info for the enumeration type.
AValue The integer ordinal of the enumeration value.

Returns

The string name of the enumeration value.