Inserts the item into the cache.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- key
- Type: System String
Cache key
- value
- Type: System Object
Value to cache
- dependencies
- Type: CMS.Helpers CMSCacheDependency
Cache dependencies
- absoluteExpiration
- Type: System DateTime
Absolute expiration time
- slidingExpiration
- Type: System TimeSpan
Sliding expiration interval
- priority
- Type: System.Web.Caching CacheItemPriority
Cache priority
- onRemoveCallback
- Type: System.Web.Caching CacheItemRemovedCallback
Callback called on the removal of the item
- useFullKey
- Type: System Boolean
If true, the full cache key is used
See Also