DictType.new Method [AX 2012]

Initializes a new instance of the Object class.

public void new(ExtendedTypeId typeId)

Run On

Called

Parameters

typeId
Type: ExtendedTypeId Extended Data Type
A data type that indicates the ID for an extended data type.

This constructor does not fail if the typeId value is an invalid extended data type ID; however, when the DictType instance is used, a run-time error occurs.

You can pass the name of the extended data type instead of an ID by using the extendedTypeNum function.

The following example shows how to create an instance of the DictType class.

    DictType dicttype; 
 
    dicttype = new DictType(extendedTypeNum(ABCModelType));

Community Additions

ADD
Show: