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 表示当前用户的站点导航结构。

例外

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

注解

该方法 Select 调用该方法 ExecuteSelect ,传递 arguments 参数。 该方法 Select 由控件开发人员使用,但它不由页面开发人员使用,也不在页面代码中使用。

适用于

另请参阅