Share via


SiteMapDataSourceView.Select(DataSourceSelectArguments) 方法

定义

获取 SiteMapNode 对象的集合,这些对象表示当前用户的站点导航结构。

public:
 System::Collections::IEnumerable ^ Select(System::Web::UI::DataSourceSelectArguments ^ arguments);
public System.Collections.IEnumerable Select (System.Web.UI.DataSourceSelectArguments arguments);
override this.Select : System.Web.UI.DataSourceSelectArguments -> System.Collections.IEnumerable
Public Function Select (arguments As DataSourceSelectArguments) As IEnumerable

参数

arguments
DataSourceSelectArguments

用于请求对数据执行基本数据检索以外的操作的 DataSourceSelectArguments

返回

SiteMapNodeCollection,表示当前用户的站点导航结构。

例外

传递给 Select(DataSourceSelectArguments)arguments 指定数据源在检索数据时应执行一些附加操作,以便对检索到的数据启用分页或排序,但此数据源控件不支持请求的功能。

注解

方法 Select 调用 ExecuteSelect 方法,传递 arguments 参数。 控件 Select 开发人员使用 方法,但页面开发人员和页面代码中均不使用此方法。

适用于

另请参阅