Add an item to the cache.
Namespace:
EPiServerAssembly: EPiServer (in EPiServer.dll) Version: 5.2.375.236
Syntax
| C# |
|---|
public static void Add( string key, Object item, CacheItemPriority priority ) |
Parameters
- key
- Type: System..::.String
The key used to access the cached item.
- item
- Type: System..::.Object
The cached item.
- priority
- Type: System.Web.Caching..::.CacheItemPriority
Caching priority