This documentation is archived and is not being maintained.
DictTable.objectMethodCnt Method [AX 2012]
Returns the number of instance methods for the table.
public int objectMethodCnt([TableScope tableScope])
Run On
Called
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()));
}