Share via


ISPCache.Enum Method

Returns all objects in the cache with the specified object type and stores them in the specified array.

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

Syntax

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

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

Parameters

  • cacheObjects
    Type: []
    The array in which the cached objects are to be stored.

See Also

Reference

ISPCache Interface

ISPCache Members

Microsoft.Office.Server.ObjectCache Namespace