FieldRef.GetEnumValueOrdinal(Integer) Method
Version: Available or changed with runtime version 4.0.
Gets the Enum value (or Option member) ordinal value from the Enum metadata for the field that is currently selected.
Syntax
The Enum value ordinal value := FieldRef.GetEnumValueOrdinal(Index: Integer)
Parameters
FieldRef
Type: FieldRef
An instance of the FieldRef data type.
Index
Type: Integer
The index in the list of Enum ordinal values to get the Enum value (or Option member) ordinal value for. The index is 1-based.
Return Value
The Enum value ordinal value
Type: Integer
The ordinal value.
See Also
FieldRef Data Type
Get Started with AL
Developing Extensions
Comentários
https://aka.ms/ContentUserFeedback.
Em breve: Ao longo de 2024, eliminaremos os problemas do GitHub como o mecanismo de comentários para conteúdo e o substituiremos por um novo sistema de comentários. Para obter mais informações, consulteEnviar e exibir comentários de