Share via


DictEnum.new Method

Initializes a new instance of the Object class.

Syntax

public void new(EnumId typeId)

Run On

Called

Parameters

Remarks

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.

Examples

The following example creates an instance of the DictEnum class.

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

See Also

Reference

DictEnum Class