summaryM:DotNetNuke.Common.Utilities.DataCache.SetCache(System.String,System.Object,System.DateTime,System.Boolean)

Namespace: DotNetNuke.Common.Utilities
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
[ObsoleteAttribute("Deprecated in DNN 5.1 - Cache Persistence is not supported")]
public static void SetCache(
	string CacheKey,
	Object objObject,
	DateTime AbsoluteExpiration,
	bool PersistAppRestart
)
Visual Basic
<ObsoleteAttribute("Deprecated in DNN 5.1 - Cache Persistence is not supported")> 
Public Shared Sub SetCache ( 
	CacheKey As String,
	objObject As Object,
	AbsoluteExpiration As DateTime,
	PersistAppRestart As Boolean
)

Parameters

CacheKey
Type: System..::..String
paramCacheKeyM:DotNetNuke.Common.Utilities.DataCache.SetCache(System.String,System.Object,System.DateTime,System.Boolean)
objObject
Type: System..::..Object
paramobjObjectM:DotNetNuke.Common.Utilities.DataCache.SetCache(System.String,System.Object,System.DateTime,System.Boolean)
AbsoluteExpiration
Type: System..::..DateTime
paramAbsoluteExpirationM:DotNetNuke.Common.Utilities.DataCache.SetCache(System.String,System.Object,System.DateTime,System.Boolean)
PersistAppRestart
Type: System..::..Boolean
paramPersistAppRestartM:DotNetNuke.Common.Utilities.DataCache.SetCache(System.String,System.Object,System.DateTime,System.Boolean)

See Also