ISPCache.GetTree Method
Returns a list of all cached objects under a specified parent object and stores them in a specified List.
Namespace: Microsoft.Office.Server.ObjectCache
Assembly: Microsoft.Office.Server (in Microsoft.Office.Server.dll)
Syntax
'Declaration
Sub GetTree ( _
objectTypeName As String, _
id As String, _
<OutAttribute> ByRef cacheObjects As List(Of SPCachedObject) _
)
'Usage
Dim instance As ISPCache
Dim objectTypeName As String
Dim id As String
Dim cacheObjects As List(Of SPCachedObject)
instance.GetTree(objectTypeName, id, cacheObjects)
void GetTree(
string objectTypeName,
string id,
out List<SPCachedObject> cacheObjects
)
Parameters
- objectTypeName
Type: System.String
- id
Type: System.String
The unique identifier of the parent object.
- cacheObjects
Type: System.Collections.Generic.List<SPCachedObject>
The List into which the cached objects are to be stored.
Remarks
The parent-child relationship is specified by the ParentID property.