Share via


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

Return Value

Type: System.Web.UI.IHierarchicalEnumerable

See Also

Reference

LevelHierarchyDataSourceView Class

LevelHierarchyDataSourceView Members

Microsoft.SharePoint.Publishing.WebControls Namespace