CacheManager Remove Method Nemiro.Data.dll
Removes a cache entry from the cache.

Namespace: Nemiro.Data.Caching
Assembly: Nemiro.Data (in Nemiro.Data.dll) Version: (

public static Object Remove(
	ObjectCache cache,
	string key,
	string regionName = null


Type: System.Runtime.Caching ObjectCache
Object to access the cache.
Type: System String
A unique identifier for the cache entry to remove.
regionName (Optional)
Type: System String
A named region in the cache to which a cache entry was added.

Return Value

Type: Object
A reference to the cache entry that is identified by key, if the entry exists; otherwise, null (Nothing).
See Also