Export (0) Print
Expand All

MemoryCacheSettingsCollection.Add Method

.NET Framework 4.6 and 4.5

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

Supported in: 4.6, 4.5, 4
Show:
© 2015 Microsoft