XLL+ Class Library

CXlOperCache::SetMaxSize

Returns the number of records in the cache

[C++]
size_t SetMaxSize(
   size_t newValue
);

Parameters

newValue

The new cache size.

Return value

This method returns the number of records currently in the cache.

Remarks

This method changes the cache's maximum size and then calls ReduceSize() so that any excess records can be removed.

Requirements

Header: xlserialize.h

See Also

CXlOperCache Class | CXlOperCache Methods