DictEnum.new Method [AX 2012]

Initializes a new instance of the Object class.

public void new(EnumId typeId)

Run On

Called

Parameters

typeId
Type: EnumId Extended Data Type
The ID of the enumeration.

The constructor does not fail if an invalid enum ID is supplied. However, when the DictEnum instance is used, a run-time error occurs. Note that EnumID values are unsigned integers and are therefore always in the range 0–65535.

The following example creates an instance of the DictEnum class.

DictEnum de; 
 
de = new DictEnum(enumName2Id("ActionType"));

Community Additions

ADD
Show: