MemoryCacheSection.NamedCaches 属性

定义

获取命名的 MemoryCache 实例的配置设置的集合。Gets the collection of configuration settings for the named MemoryCache instances.

public:
 property System::Runtime::Caching::Configuration::MemoryCacheSettingsCollection ^ NamedCaches { System::Runtime::Caching::Configuration::MemoryCacheSettingsCollection ^ get(); };
[System.Configuration.ConfigurationProperty("namedCaches")]
public System.Runtime.Caching.Configuration.MemoryCacheSettingsCollection NamedCaches { get; }
member this.NamedCaches : System.Runtime.Caching.Configuration.MemoryCacheSettingsCollection
Public ReadOnly Property NamedCaches As MemoryCacheSettingsCollection

属性值

每个命名缓存的设置的集合。A collection of settings for each named cache.

属性

注解

属性从配置文件的一个或多个namedCaches元素中引用配置设置的集合。 NamedCachesThe NamedCaches property references the collection of configuration settings from one or more namedCaches elements of the configuration file. 有关与此属性相关的配置选项的详细信息, 请参阅 <namedCaches>元素 (缓存设置)For more information about configuration options that are related to this property, see <namedCaches> Element (Cache Settings).

适用于

另请参阅