Table of Contents

Remove Method

Definition

Namespace
Cuemon.Runtime.Caching
Assemblies
Cuemon.Runtime.Caching.dll
Source
src/Cuemon.Runtime.Caching/ICacheEnumerable.cs

Remove(string, string)

Removes a cache entry from the cache.

object Remove(string key, string ns = null)

Parameters

key string

The unique identifier for the cache entry.

ns string

The optional namespace that provides a scope to the cache.

Returns

object

If the entry is found in the cache, a reference to the value in the cache container of the removed cache entry; otherwise, null.