Uređivanje

Dijeli putem


MemoryCache.Name Property

Definition

Gets the name of the cache.

public:
 virtual property System::String ^ Name { System::String ^ get(); };
public override string Name { get; }
member this.Name : string
Public Overrides ReadOnly Property Name As String

Property Value

The name of the cache.

Remarks

The Name property returns the name of the current instance of the MemoryCache class. In an application that uses multiple cache instances, you can use the Name property to help distinguish instances. For more information, see the MemoryCache.MemoryCache(String, NameValueCollection) method. The default memory-based cache returns the default name.

Applies to