TableOfContentsDataSourceView.GetRootLevelElements Method

Gets the first-level child 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 TableOfContentsDataSourceView
Dim rootElementData As RootElementData
Dim returnValue As IHierarchicalEnumerable

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

Parameters

  • rootElementData
    Type: RootElementData

    An object representing the root element of the data rendered by the LevelHierarchy Web Parts.

Return Value

Type: System.Web.UI.IHierarchicalEnumerable

See Also

Reference

TableOfContentsDataSourceView Class

TableOfContentsDataSourceView Members

Microsoft.SharePoint.Publishing.WebControls Namespace