CacheHelper TryGetItem OutputType  Method (String, Boolean, OutputType , Boolean)Kentico 8.1 API Reference
Returns true if the cache contains the item with specified key.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

key
Type: OnlineSystem String
Cache key
caseSensitive
Type: OnlineSystem Boolean
Cache key is case sensitive
output
Type: OutputType 
Returning the value of the object
logOperation (Optional)
Type: OnlineSystem Boolean
Log the cache operation

Return Value

Type: OnlineBoolean
See Also