FieldRef.GetEnumValueCaption(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.GetEnumValueCaption(Index: Integer)
Parameters
FieldRef
Type: FieldRef
An instance of the FieldRef data type.
Index
Type: Integer
The index in the list of Enum values to get the Enum value (or Option member) caption for. The index is 1-based.
Return Value
The Enum value caption
Type: Text
The Enum value caption.
See Also
FieldRef Data Type
Get Started with AL
Developing Extensions
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om