Bearbeiten

Freigeben über


FieldRef.EnumValueCount() Method

Version: Available or changed with runtime version 4.0.

Gets the number of Enum values (or Option members) from the Enum metadata for the field that is currently selected.

Syntax

Number of Enum values :=   FieldRef.EnumValueCount()

Parameters

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

Return Value

Number of Enum values
 Type: Integer
The number of Enum values.

FieldRef Data Type
Get Started with AL
Developing Extensions