MemoryCache.Name Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.