Export (0) Print
Expand All

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)

'Usage
Dim instance As DataCache
Dim key As String
Dim returnValue As Object

returnValue = instance.Get(key)

public Object Get (
	string key
)
public Object Get (
	String key
)
public function Get (
	key : String
) : Object

Parameters

key

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

Return Value

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Visual Studio 2010 and later, .NET Framework 4

Target Platforms

Windows 7; Windows Server 2008 R2; Windows Server 2008 Service Pack 2; Windows Vista Service Pack 2
  http://msdn.microsoft.com/en-us/library/microsoft.applicationserver.caching.aspx 2011-08-26
Show:
© 2014 Microsoft