SiteMapDataSourceView.ExecuteSelect(DataSourceSelectArguments) メソッド

定義

現在のユーザーのサイト ナビゲーション構造を表す SiteMapNode オブジェクトのコレクションを取得します。

protected public:
 override System::Collections::IEnumerable ^ ExecuteSelect(System::Web::UI::DataSourceSelectArguments ^ arguments);
protected internal override System.Collections.IEnumerable ExecuteSelect(System.Web.UI.DataSourceSelectArguments arguments);
override this.ExecuteSelect : System.Web.UI.DataSourceSelectArguments -> System.Collections.IEnumerable
Protected Friend Overrides Function ExecuteSelect (arguments As DataSourceSelectArguments) As IEnumerable

パラメーター

arguments
DataSourceSelectArguments

基本的なデータ取得以外のデータに対する操作を要求するために使用される DataSourceSelectArguments

返品

現在のユーザーのサイト ナビゲーション構造を表す SiteMapNodeCollection

例外

Select(DataSourceSelectArguments)に渡されるargumentsは、データ ソースがデータの取得中に追加の作業を実行して、取得したデータのページングまたは並べ替えを有効にする必要があることを指定しますが、データ ソース コントロールは要求された機能をサポートしていません。

注釈

SiteMapDataSourceView クラスは、継承された ExecuteSelect メソッドを実装して、現在の ASP.NET アプリケーションのサイト ナビゲーション構造を表すノードのセットを取得します。 ページ開発者とデータ バインド コントロールの作成者は、 ExecuteSelect メソッドを直接呼び出しません。代わりに、パブリックに公開されている Select メソッドを使用します。

適用対象

こちらもご覧ください