Looks up an object in the cache

Namespace: BrightstarDB.Caching
Assembly: BrightstarDB (in BrightstarDB.dll) Version: 1.9.0.0 (1.9.0.0)

Syntax

C#
T Lookup<T>(
	string key
)
Visual Basic
Function Lookup(Of T) ( 
	key As String
) As T
Visual C++
generic<typename T>
T Lookup(
	String^ key
)
F#
abstract Lookup : 
        key : string -> 'T 

Parameters

key
Type: System..::..String
The cache key of the object

Type Parameters

T
The type of the object to look up

Return Value

Type: T
The object found or null if the object was not found or does not match the specified type.

See Also