Share via


Dictionary.classCnt2Id Method

Provides the ID of a specified class.

Syntax

public ClassId classCnt2Id(int cnt)

Run On

Called

Parameters

  • cnt
    Type: int
    An integer value that specifies a class, based on the order of classes in Microsoft Dynamics AX.

Return Value

Type: ClassId Extended Data Type
A classId system data type value that indicates the class ID; 0 (zero) if you pass a cnt value that is larger than the number of classes that is returned by the Dictionary::classCnt method.

See Also

Dictionary Class

Dictionary Class