Click or drag to resize
CacheSettings Constructor (Double, Boolean, Object)
Initializes a new instance of the CacheSettings.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax
C#
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