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)


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

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


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

See Also


SPCache Class

SPCache Members

Microsoft.Office.Server.ObjectCache Namespace