Share via


DictTable.cacheSize Method

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

Syntax

public int cacheSize()

Run On

Called

Return Value

Type: int
The cache size for the table.

Examples

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()); 
}

See Also

DictTable Class

DictTable.cacheLookup Method