DictTable.cacheSize Method [AX 2012]

Returns the cache size for the table, in the number of records.

public int cacheSize()

Run On

Called

Return Value

Type: int
The cache size for the table.

The following example retrieves the cache size for a table.

DictTable dt; 
 
dt = new DictTable(tablenum(SysUserInfo)); 
 
if (dt) 
{ 
     print strfmt("Cache size: %1", dt.cacheSize()); 
}

Community Additions

ADD
Show: