SPCache.Get 方法
从缓存 wit 指定的对象类型返回具有指定标识符的对象。
命名空间: Microsoft.Office.Server.ObjectCache
程序集: Microsoft.Office.Server(位于 Microsoft.Office.Server.dll 中)
语法
声明
Public Function Get ( _
objectTypeName As String, _
id As String _
) As Object
用法
Dim instance As SPCache
Dim objectTypeName As String
Dim id As String
Dim returnValue As Object
returnValue = instance.Get(objectTypeName, _
id)
public Object Get(
string objectTypeName,
string id
)
参数
- objectTypeName
类型:System.String
- id
类型:System.String
返回值
类型:System.Object
返回 Object。