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
- objectTypeName
Type: System.String
- cacheObjects
Type: []
The array in which the cached objects are to be stored.