This documentation is archived and is not being maintained.
DictTable.cacheSize Method [AX 2012]
Returns the cache size for the table, in the number of records.
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());
}