CacheSettings Constructor (Double, Boolean, Object) |
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax public CacheSettings(
double cacheMinutes,
bool useSlidingExpiration,
params Object[] cacheItemNameParts
)
Parameters
- cacheMinutes
- Type: SystemDouble
Cache minutes. - useSlidingExpiration
- Type: SystemBoolean
Indicates whether sliding expiration should be used. If enabled, objects are removed from the cache only if they are not accessed for the number of minutes specified by cacheMinutes. - cacheItemNameParts
- Type: SystemObject
Cache item name parts (form the cache item name if the custom item name is not available).
See Also