MemoryCacheSettingsCollection.Remove Method (MemoryCacheElement)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Removes the specified cache configuration element from the MemoryCacheSettingsCollection class.

Namespace:   System.Runtime.Caching.Configuration
Assembly:  System.Runtime.Caching (in System.Runtime.Caching.dll)

public void Remove(
	MemoryCacheElement cache
)

Parameters

cache
Type: System.Runtime.Caching.Configuration.MemoryCacheElement

The memory cache configuration element to remove.

.NET Framework
Available since 4.0
Return to top
Show: