DictEnum.newmethod(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the Object class.
public:
void newmethod(int _typeId);
public void newmethod (int _typeId);
override this.newmethod : int -> unit
Public Sub newmethod (_typeId As Integer)
Parameters
- _typeId
- Int32
The ID of the enumeration.
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 to 65535.
The following example creates an instance of the DictEnum class.
DictEnum de;
de = new DictEnum(enumName2Id("ActionType"));