Edit

Share via


MemoryCacheSection.NamedCaches Property

Definition

Gets the collection of configuration settings for the named MemoryCache instances.

[System.Configuration.ConfigurationProperty("namedCaches")]
public System.Runtime.Caching.Configuration.MemoryCacheSettingsCollection NamedCaches { get; }

Property Value

A collection of settings for each named cache.

Attributes

Remarks

The NamedCaches property references the collection of configuration settings from one or more namedCaches elements of the configuration file. For more information about configuration options that are related to this property, see <namedCaches> Element (Cache Settings).

Applies to

Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also