Click or drag to resize
CacheHelperInsertInternal Method
Inserts the item into the cache.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 10.0.0
Syntax
C#
protected virtual void InsertInternal(
	string key,
	Object value,
	CMSCacheDependency dependencies,
	DateTime absoluteExpiration,
	TimeSpan slidingExpiration,
	CacheItemPriority priority,
	CacheItemRemovedCallback onRemoveCallback,
	bool useFullKey
)

Parameters

key
Type: SystemString
Cache key
value
Type: SystemObject
Value to cache
dependencies
Type: CMS.HelpersCMSCacheDependency
Cache dependencies
absoluteExpiration
Type: SystemDateTime
Absolute expiration time
slidingExpiration
Type: SystemTimeSpan
Sliding expiration interval
priority
Type: System.Web.CachingCacheItemPriority
Cache priority
onRemoveCallback
Type: System.Web.CachingCacheItemRemovedCallback
Callback called on the removal of the item
useFullKey
Type: SystemBoolean
If true, the full cache key is used
See Also