System.Web.UI.WebControls.SiteMapDataSourceView.ExecuteSelect Method

Gets the collection of the System.Web.SiteMapNode objects that represents the site navigation structure for the current user.

Syntax

protected override IEnumerable ExecuteSelect (System.Web.UI.DataSourceSelectArguments arguments)

Parameters

arguments
A System.Web.UI.DataSourceSelectArguments that is used to request operations on the data beyond basic data retrieval.

Returns

A System.Web.SiteMapNodeCollection that represents the site navigation structure for the current user.

Remarks

The System.Web.UI.WebControls.SiteMapDataSourceView class implements the inherited SiteMapDataSourceView.ExecuteSelect(System.Web.UI.DataSourceSelectArguments) method to retrieve a set of nodes that represents the site navigation structure for the current ASP.NET application. Page developers and data-bound control authors do not call the SiteMapDataSourceView.ExecuteSelect(System.Web.UI.DataSourceSelectArguments) method directly; instead, use the publicly exposed erload:System.Web.UI.WebControls.SiteMapDataSourceView.Select method.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0