MemoryCacheSettingsCollection::Item Property (String^)

.NET Framework (current version)
 

Gets the MemoryCacheElement item that has the specified key.

Namespace:   System.Runtime.Caching.Configuration
Assembly:  System.Runtime.Caching (in System.Runtime.Caching.dll)

public:
property MemoryCacheElement^ default[
	String^ key
] {
	MemoryCacheElement^ get(String^ key);
}

Parameters

key
Type: System::String^

A unique identifier for the item.

Property Value

Type: System.Runtime.Caching.Configuration::MemoryCacheElement^

The item that is specified by the key.

.NET Framework
Available since 4.0
Return to top
Show: