SiteMapDataSourceView.Select(DataSourceSelectArguments) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取表示当前用户的网站导航结构的对象的集合 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 由控件开发人员使用,但它不由页面开发人员使用,也不在页面代码中使用。