Skip to main content
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

TMS.MCP.Persistence.hppPascalC++
class function GetEnumName(ATypeInfo: PTypeInfo; AValue: Integer): string;
__classmethod System::UnicodeString __fastcall GetEnumName(PTypeInfo ATypeInfo, int AValue);

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.