Click or drag to resize
PersistentCacheItemDataType Constructor (String, DataType, CMSCacheDependency, Int32, DateTime, DateTime, String)

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 10.0.0
Syntax
C#
public PersistentCacheItem(
	string cacheKey,
	DataType data,
	CMSCacheDependency cd,
	int cacheMinutes,
	DateTime expires,
	DateTime fileExpires,
	string siteName
)

Parameters

cacheKey
Type: SystemString
Cache key
data
Type: DataType
Data to cache
cd
Type: CMS.HelpersCMSCacheDependency
Cache dependency
cacheMinutes
Type: SystemInt32
Cache minutes for the standard cache item
expires
Type: SystemDateTime
Expiration time
fileExpires
Type: SystemDateTime
Expiration time for the file
siteName
Type: SystemString
Site name
See Also