Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

MemoryCacheSettingsCollection.Item Property (String)

.NET Framework 4.6 and 4.5

Gets the MemoryCacheElement item that has the specified key.

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

public MemoryCacheElement this[
	string key
] { get; }


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

Supported in: 4.6, 4.5, 4
© 2015 Microsoft