Method Remove
Remove(Object)
Removes the item from the cache. Does not throw any exception if the item does not exist.
Declaration
public void Remove(object entity)
Parameters
Type | Name | Description |
---|---|---|
System. |
entity | Entity that will be used to generate the Key for the cache item. |
Remove(String)
Removes the item from the cache. Does not throw any exception if the item does not exist.
Declaration
public void Remove(string cacheKey)
Parameters
Type | Name | Description |
---|---|---|
System. |
cacheKey | The key that will be used to remove the item from the cache. |