DictTable.objectMethodCnt Method [AX 2012]

Returns the number of instance methods for the table.

public int objectMethodCnt([TableScope tableScope])

Run On

Called

Parameters

tableScope
Type: TableScope Enumeration

Return Value

Type: int
The number of instance methods for the table.

The following example shows the retrieval of the number of instance methods for a table.

DictTable dt; 
 
dt = new DictTable(tablenum(CustTable)); 
if (dt) 
{ 
    print (strfmt("The table has %1 instance methods.", dt.objectMethodCnt())); 
}

Community Additions

ADD
Show: