Returns cached item based on the provided key or null if item is not known.

Namespace: Composite.Core.Caching
Assembly: Composite (in Composite.dll) Version: 6.1.6325.31818

Syntax

C#
public static T TryGet<T>(
	Object key
)
Visual Basic
Public Shared Function TryGet(Of T) ( _
	key As Object _
) As T
Visual C++
public:
generic<typename T>
static T TryGet(
	Object^ key
)

Parameters

key
Type: System..::..Object
Key for item

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:Composite.Core.Caching.RequestLifetimeCache.TryGet``1(System.Object)"]

Return Value

Cached item or null if not found.

See Also