DataCache.Item Property (String)

 

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)

Syntax

public object this[
    string key
] { get; set; }
public:
property Object^ default[
    String^ key
] {
    Object^ get(String^ key);
    void set(String^ key, Object^ value);
}
member Item : 
        key:string -> Object with get, set
Public Property Item (
    key As String
) As Object

Parameters

  • key
    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.

Remarks

This method enables array notation.

See Also

DataCache Class
Microsoft.ApplicationServer.Caching Namespace

Return to top