Dictionary.enumCnt2Id Method
Provides the ID of a specified enumeration type.
Syntax
public EnumId enumCnt2Id(int cnt)
Run On
Called
Parameters
- cnt
Type: int
An integer that specifies an enumeration type, based on the order of enumeration types in Microsoft Dynamics AX.
Return Value
Type: EnumId Extended Data Type
An enumId system data type value that indicates the enumeration type ID; 0 (zero) if you pass a cnt value that is larger than the number of classes that is returned by the Dictionary::enumCnt method.