XLL+ Class Library (7.0)

PersistentHandleCache<T>::SetMaxSavedItemAgeDays

Sets the value of the MaxSavedItemAge property.

void SetMaxSavedItemAgeDays(
   long lDays
);

Parameters

lDays

The maximum age of an object in days. Any objects which have been unused for this time or longer will be purged from the cache when it is saved. If the value is 0 or negative, then objects will not be limited with regard to age.

Requirements

Header: rtdhandles.h

See Also

PersistentHandleCache<T> Class | PersistentHandleCache<T> Methods | SetMaxSavedItemAge | GetMaxSavedItemAge