Click or drag to resize
CacheHelperTryRestorePersistentDataType Method
Restores the persistent item from the cache

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax
C#
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: Boolean
See Also