Share via


BaseTableOfContentsDataSourceView.GetRootLevelElements method

Gets the first level of level elements that are child level elements of the root node.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Public Overrides Function GetRootLevelElements ( _
    rootElementData As RootElementData _
) As IHierarchicalEnumerable
'Usage
Dim instance As BaseTableOfContentsDataSourceView
Dim rootElementData As RootElementData
Dim returnValue As IHierarchicalEnumerable

returnValue = instance.GetRootLevelElements(rootElementData)
public override IHierarchicalEnumerable GetRootLevelElements(
    RootElementData rootElementData
)

Parameters

  • rootElementData
    Type: RootElementData

    The children of the specified root element.

Return value

Type: System.Web.UI.IHierarchicalEnumerable

See also

Reference

BaseTableOfContentsDataSourceView class

BaseTableOfContentsDataSourceView members

Microsoft.SharePoint.Publishing.WebControls namespace