Table of Contents

TTMSFNCPersistence.GetEnumName Method

Returns the string name for the given enumeration value.

API unit family: TMSFNCPersistence Declaring type: TTMSFNCPersistence

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.