Share via


BaseTableOfContentsDataSourceView.Select method

Provides the entry point for querying the view for data, and constructs the root element.

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Overrides Function Select As IHierarchicalEnumerable
'Usage
Dim instance As BaseTableOfContentsDataSourceView
Dim returnValue As IHierarchicalEnumerable

returnValue = instance.Select()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public override IHierarchicalEnumerable Select()

Return value

Type: System.Web.UI.IHierarchicalEnumerable
A list of all the site map nodes in the view.

Remarks

After the root element is constructed, from then on the LevelElementHierarchyData objects are responsible for getting their children.

See also

Reference

BaseTableOfContentsDataSourceView class

BaseTableOfContentsDataSourceView members

Microsoft.SharePoint.Publishing.WebControls namespace