Item Property

Allows for the use of array notation to access cached objects.

Namespace:  Microsoft.ApplicationServer.Caching
Assembly:  Microsoft.ApplicationServer.Caching.Client (in Microsoft.ApplicationServer.Caching.Client.dll)

public Object this[
	string key
] { get; set; }


Type: System..::..String
The key that is used to save the cached object.

Property Value

Type: System..::..Object
A deserialized object that was saved to the cache that uses the key.

This method enables array notation. For more information about how to use the Item method, see <maml:externalLink><maml:linkText>Add an Object to a Cache</maml:linkText><maml:linkUri></maml:linkUri></maml:externalLink>.