Enum.Ordinals() Method

Version: Available or changed with runtime version 4.0.

Gets the ordinal numbers/ID's for the values

Syntax

List of ordinals :=   Enum.Ordinals()

Note

This method can be invoked using property access syntax.

Parameters

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

Return Value

List of ordinals
 Type: List of [Integer]

Enum Data Type
Get Started with AL
Developing Extensions