CacheHelperTryRestorePersistentDataType Method |
Restores the persistent item from the cache
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntaxpublic static bool TryRestorePersistent<DataType>(
string cacheKey,
string siteName,
out DataType data
)
Parameters
- cacheKey
- Type: SystemString
Cache key - siteName
- Type: SystemString
Site name - data
- Type: DataType
Returning the cached data if found
Type Parameters
- DataType
Return Value
Type:
Boolean
See Also