CacheHelperTryRestorePersistentDataType Method |
Restores the persistent item from the cache
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 11.0.0
Syntax public 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:
BooleanSee Also