CacheHelper.SetCache Method (String, Object, TimeSpan)

HD.Common

CacheHelperSetCache Method (String, Object, TimeSpan) Helper帮助文档
设置数据缓存

Namespace: HD.Common
Assembly: HD.Common (in HD.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static void SetCache(
	string CacheKey,
	Object objObject,
	TimeSpan Timeout
)
Public Shared Sub SetCache ( 
	CacheKey As String,
	objObject As Object,
	Timeout As TimeSpan
)
public:
static void SetCache(
	String^ CacheKey, 
	Object^ objObject, 
	TimeSpan Timeout
)
static member SetCache : 
        CacheKey : string * 
        objObject : Object * 
        Timeout : TimeSpan -> unit 

Parameters

CacheKey
Type: SystemString

[Missing <param name="CacheKey"/> documentation for "M:HD.Common.CacheHelper.SetCache(System.String,System.Object,System.TimeSpan)"]

objObject
Type: SystemObject

[Missing <param name="objObject"/> documentation for "M:HD.Common.CacheHelper.SetCache(System.String,System.Object,System.TimeSpan)"]

Timeout
Type: SystemTimeSpan

[Missing <param name="Timeout"/> documentation for "M:HD.Common.CacheHelper.SetCache(System.String,System.Object,System.TimeSpan)"]

See Also

Reference