MemoryCacheSettingsCollection.Add 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.

Adds the specified cache configuration element to the MemoryCacheSettingsCollection collection.

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

public void Add(
	MemoryCacheElement cache
)

Parameters

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

The memory cache configuration element to add.

.NET Framework
Available since 4.0
Return to top
Show: