Édition

Partage via


Enum Data type

Version: Available or changed with runtime version 4.0.

Represents the text content of an element or attribute.

Static methods

The following methods are available on the Enum data type.

Method name Description
FromInteger(Integer) Returns an enum with the integer value

Instance methods

The following methods are available on instances of the Enum data type.

Method name Description
AsInteger() Get the enum value as an integer value.
Names() Gets the value names
Ordinals() Gets the ordinal numbers/ID's for the values

Example

For more information, see Extensible Enums.

Get Started with AL
Developing Extensions