SPClaimHierarchyProvider.FillHierarchy 方法
派生类中实现时,将多个**[Microsoft.SharePoint.WebControls.SPProviderHierarchyTree]**控件从不同的声明提供程序聚合成一个索赔层次结构提供程序树。
命名空间: Microsoft.SharePoint.Administration.Claims
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public MustOverride Sub FillHierarchy ( _
context As Uri, _
inHierarchies As List(Of SPProviderHierarchyTree), _
result As SPProviderHierarchyTree _
)
用法
Dim instance As SPClaimHierarchyProvider
Dim context As Uri
Dim inHierarchies As List(Of SPProviderHierarchyTree)
Dim result As SPProviderHierarchyTree
instance.FillHierarchy(context, inHierarchies, _
result)
public abstract void FillHierarchy(
Uri context,
List<SPProviderHierarchyTree> inHierarchies,
SPProviderHierarchyTree result
)
参数
context
类型:System.Uri上下文,为 URI。这必须是格式正确的 URI。
inHierarchies
类型:System.Collections.Generic.List<SPProviderHierarchyTree>从不同的**[Microsoft.SharePoint.WebControls.SPProviderHierarchyTree]**控件列表的声明提供程序。
result
类型:Microsoft.SharePoint.WebControls.SPProviderHierarchyTree为结果树的**[Microsoft.SharePoint.WebControls.SPProviderHierarchyTree]**控件。