Share via


SPCache.Enum Method

Returns all of the objects in the cache with the specified object type name.

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

Syntax

'Declaration
Public Sub Enum ( _
    objectTypeName As String, _
    <OutAttribute> ByRef cacheObjects As SPCachedObject() _
)
'Usage
Dim instance As SPCache
Dim objectTypeName As String
Dim cacheObjects As SPCachedObject()

instance.Enum(objectTypeName, cacheObjects)
public void Enum(
    string objectTypeName,
    out SPCachedObject[] cacheObjects
)

Parameters

  • cacheObjects
    Type: []
    An array of SPCachedObject that will contain the cached objects.

See Also

Reference

SPCache Class

SPCache Members

Microsoft.Office.Server.ObjectCache Namespace