CacheHelperTryGetItemOutputType Method (String, OutputType) |
Returns true if the cache contains the item with specified key.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntaxpublic 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