Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

MemoryCache.Remove(Object) Method

Definition

Namespace:
Microsoft.Extensions.Caching.Memory
Assembly:
Microsoft.Extensions.Caching.Memory.dll
Package:
Microsoft.Extensions.Caching.Memory v11.0.0-preview.5.26302.115
Source:
MemoryCache.cs
Source:
MemoryCache.cs
Source:
MemoryCache.cs
Source:
MemoryCache.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Removes the object associated with the given key.

public:
 virtual void Remove(System::Object ^ key);
public void Remove(object key);
abstract member Remove : obj -> unit
override this.Remove : obj -> unit
Public Sub Remove (key As Object)

Parameters

key
Object

An object identifying the entry.

Implements

Applies to


Feedback

Was this page helpful?