LevelHierarchyDataSourceView.GetRootLevelElements method

Gets the first level of LevelElements. These elements are child Level elements of the root node. Derived views must override in order get the relevant data for that view.

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

Syntax

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

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

Parameters

  • rootElementData
    Type: RootElementData

    A RootElementData class representing the root element of the data rendered by the LevelHierarchy webparts.

Return value

Type: System.Web.UI.IHierarchicalEnumerable

See also

Reference

LevelHierarchyDataSourceView class

LevelHierarchyDataSourceView members

Microsoft.SharePoint.Publishing.WebControls namespace