Click or drag to resize
CacheHelperTryGetItemOutputType Method (String, OutputType)
Returns true if the cache contains the item with specified key.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax
C#
public static bool TryGetItem<OutputType>(
	string key,
	out OutputType value
)

Parameters

key
Type: SystemString
Cache key
value
Type: OutputType
Returning the value of the object

Type Parameters

OutputType

Return Value

Type: Boolean
See Also