Editar

Compartir a través de


FieldRef.GetEnumValueCaptionFromOrdinalValue(Integer) Method

Version: Available or changed with runtime version 7.0.

Gets an Enum value (or Option member) caption for the from the Enum metadata for the field that is currently selected.

Syntax

The Enum value caption :=   FieldRef.GetEnumValueCaptionFromOrdinalValue(Ordinal: Integer)

Parameters

FieldRef
 Type: FieldRef
An instance of the FieldRef data type.

Ordinal
 Type: Integer
The Enum value's ordinal value to get the Enum value (or Option member) caption for.

Return Value

The Enum value caption
 Type: Text
The Enum value caption.

FieldRef Data Type
Get Started with AL
Developing Extensions