DataCache.Get Method (String)

 

Gets an object from the cache using the specified key.

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

Syntax

public object Get(
    string key
)
public:
Object^ Get(
    String^ key
)
member Get : 
        key:string -> Object
Public Function Get (
    key As String
) As Object

Parameters

  • key
    Type: System.String

    The unique value that is used to identify the object in the cache.

Return Value

Type: System.Object

The object that was cached by using the specified key. Null is returned if the key does not exist.

See Also

Get Overload
DataCache Class
Microsoft.ApplicationServer.Caching Namespace

Return to top