Export (0) Print
Expand All

Get Method (String, String)

Gets an object from the specified region by using the specified key. This overload is not supported in Windows Azure Shared Caching.

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

public Object Get(
	string key,
	string region
)

Parameters

key
Type: System..::..String
The unique value that is used to identify the object in the region.
region
Type: System..::..String
The name of the region where the object resides.

Return Value

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

Community Additions

ADD
Show:
© 2014 Microsoft