XLL+ Class Library (6.3)

CXlOperCache::SetMaxSize

Returns the number of records in the cache

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