SPCache.Put 方法 (String, SPCachedObject)
使用指定的对象类型写入缓存指定的对象。
命名空间: Microsoft.Office.Server.ObjectCache
程序集: Microsoft.Office.Server(位于 Microsoft.Office.Server.dll 中)
语法
声明
Public Sub Put ( _
objectTypeName As String, _
cacheObject As SPCachedObject _
)
用法
Dim instance As SPCache
Dim objectTypeName As String
Dim cacheObject As SPCachedObject
instance.Put(objectTypeName, cacheObject)
public void Put(
string objectTypeName,
SPCachedObject cacheObject
)
参数
- objectTypeName
类型:System.String
- cacheObject
类型:Microsoft.Office.Server.ObjectCache.SPCachedObject