Adds a key/value pair item into the cache with the specified absolute expiration date.
Overload | Description |
---|---|
Set(cacheitem,cacheitempolicy) | Adds an item into the cache. |
Set(string,object,cacheitempolicy,string) | Adds a key/value pair item into the cache. |
Set(string,object,datetime,string) | Adds a key/value pair item into the cache with the specified absolute expiration date. |
Set<T>(cacheitem<t>,cacheitempolicy) | Adds an item into the cache. |
Set<T>(string,t,cacheitempolicy,string) | Adds a key/value pair item into the cache. |
Set<T>(string,t,datetime,string) | Adds a key/value pair item into the cache with the specified absolute expiration date. |