SPCache.GetTree 方法

返回与指定的对象类型高速缓存中的缓存对象在指定的父对象下的List 。

命名空间:  Microsoft.Office.Server.ObjectCache
程序集:  Microsoft.Office.Server(位于 Microsoft.Office.Server.dll 中)

语法

声明
Public Sub GetTree ( _
    objectTypeName As String, _
    id As String, _
    ByRef cacheObjects As List(Of SPCachedObject) _
)
用法
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
)

参数

备注

ParentID属性指定的父-子关系。

另请参阅

引用

SPCache 类

SPCache 成员

Microsoft.Office.Server.ObjectCache 命名空间