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
Обратная связь
https://aka.ms/ContentUserFeedback.
Ожидается в ближайшее время: в течение 2024 года мы постепенно откажемся от GitHub Issues как механизма обратной связи для контента и заменим его новой системой обратной связи. Дополнительные сведения см. в разделеОтправить и просмотреть отзыв по