Method Add
Add(String, Object, DateTime)
Adds the specified item into the cache with an expiry time.
Declaration
public override object Add(string key, object entry, DateTime utcExpiry)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | key | A unique identifier for an item. |
| System.Object | entry | The content to add to the cache. |
| System.DateTime | utcExpiry | The time and date on which the cached item expires. |
Returns
| Type | Description |
|---|---|
| System.Object | The item (object) to be stored in the cache. |
Overrides
System.Web.Caching.OutputCacheProvider.Add(System.String, System.Object, System.DateTime)