BCGSuite for MFC
CBCGPGridRow* CBCGPGridCache::GetCachedRow ( int  nId)

Returns a cached row.

Returns
A pointer to the cached item; NULL, if the requested row is not in cache.

Use this function to get a cached item. If item is not in cache then this function returns NULL, you should call SetCachedRow() to add row to cache. Page cache can automatically remove non used items.

Parameters
nIdZero-based index of a cached item.