SPCache.GetItemCount 方法

返回与指定的对象类型高速缓存对象的数目。

命名空间:  Microsoft.Office.Server.ObjectCache
程序集:  Microsoft.Office.Server(位于 Microsoft.Office.Server.dll 中)

语法

声明
Public Function GetItemCount ( _
    objectTypeName As String _
) As UInteger
用法
Dim instance As SPCache
Dim objectTypeName As String
Dim returnValue As UInteger

returnValue = instance.GetItemCount(objectTypeName)
public uint GetItemCount(
    string objectTypeName
)

参数

返回值

类型:System.UInt32
返回UInt32

另请参阅

引用

SPCache 类

SPCache 成员

Microsoft.Office.Server.ObjectCache 命名空间