CacheHelperAdd Method (String, Object, CMSCacheDependency, DateTime, TimeSpan) |
Mirror to Cache.Add().
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax public static void Add(
string key,
Object value,
CMSCacheDependency dependencies,
DateTime absoluteExpiration,
TimeSpan slidingExpiration
)
Parameters
- key
- Type: SystemString
Cache key - value
- Type: SystemObject
Cache value - dependencies
- Type: CMS.HelpersCMSCacheDependency
Cache dependencies - absoluteExpiration
- Type: SystemDateTime
Cache absolute expiration - slidingExpiration
- Type: SystemTimeSpan
Cache sliding expiration
See Also