Method Set
Set(String, Object, DateTime)
Inserts the specified item into the cache, overwriting the item if it is already cached.
Declaration
public override void Set(string key, object entry, DateTime utcExpiry)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | A unique identifier for item. |
System.Object | entry | The content to add to the output cache. |
System.DateTime | utcExpiry | The time and date on which the cached item expires. |
Overrides
System.Web.Caching.OutputCacheProvider.Set(System.String, System.Object, System.DateTime)