Share via


TableOfContentsDataSourceView.GetRootLevelElements Method

Gets the first level of LevelElements. These elements are 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

Return Value

Type: System.Web.UI.IHierarchicalEnumerable

See Also

Reference

TableOfContentsDataSourceView Class

TableOfContentsDataSourceView Members

Microsoft.SharePoint.Publishing.WebControls Namespace