Share via


DictTable.Cachesize Method

Definition

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

public:
 virtual int Cachesize();
public virtual int Cachesize ();
abstract member Cachesize : unit -> int
override this.Cachesize : unit -> int
Public Overridable Function Cachesize () As Integer

Returns

The cache size for the table.

Remarks

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

Applies to