CacheStoreProvider.Remove Method (String, CacheItemRemovedReason)
Removes the specified item from the cache if it exists.
Assembly: System.Web (in System.Web.dll)
Public MustOverride Function Remove ( key As String, reason As CacheItemRemovedReason ) As Object
Parameters
- key
-
Type:
System.String
The identifier for the cache item to remove.
- reason
-
Type:
System.Web.Caching.CacheItemRemovedReason
The reason the item was removed.
.NET Framework
Available since 4.7
Available since 4.7
Show: