SPCache.GetItemCount method

Returns the number of objects in the cache with the specified object type.

Namespace:  Microsoft.Office.Server.ObjectCache
Assembly:  Microsoft.Office.Server (in Microsoft.Office.Server.dll)

Syntax

'Declaration
Public Function GetItemCount ( _
    objectTypeName As String _
) As UInteger
'Usage
Dim instance As SPCache
Dim objectTypeName As String
Dim returnValue As UInteger

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

Parameters

Return value

Type: System.UInt32
Returns UInt32.

See also

Reference

SPCache class

SPCache members

Microsoft.Office.Server.ObjectCache namespace