Adds an item to the runtime cache.
Namespace:
EPiServerAssembly: EPiServer (in EPiServer.dll) Version: 5.2.375.236
Syntax
| C# |
|---|
public static Object RuntimeCacheAdd( string key, Object value, CacheDependency dependencies, DateTime absoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority ) |
Parameters
- key
- Type: System..::.String
The item's key.
- value
- Type: System..::.Object
The value.
- dependencies
- Type: System.Web.Caching..::.CacheDependency
The dependencies.
- absoluteExpiration
- Type: System..::.DateTime
The absolute expiration.
- slidingExpiration
- Type: System..::.TimeSpan
The sliding expiration.
- priority
- Type: System.Web.Caching..::.CacheItemPriority
The priority.