SPCache.GetTree Method

Returns a List of cache objects under a specified parent object in a cache with the specified object type.

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

Syntax

'Declaration
Public Sub GetTree ( _
    objectTypeName As String, _
    id As String, _
    ByRef cacheObjects As List(Of SPCachedObject) _
)
'Usage
Dim instance As SPCache
Dim objectTypeName As String
Dim id As String
Dim cacheObjects As List(Of SPCachedObject)

instance.GetTree(objectTypeName, id, cacheObjects)
public void GetTree(
    string objectTypeName,
    string id,
    ref List<SPCachedObject> cacheObjects
)

Parameters

Remarks

The parent-child relationship is specified by the ParentID property.

See Also

Reference

SPCache Class

SPCache Members

Microsoft.Office.Server.ObjectCache Namespace