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 指定資料來源在擷取資料時應執行一些額外工作,來啟用分頁或排序擷取的資料,但是資料來源控制項不支援所要求的功能。

備註

方法會 SelectExecuteSelect 呼叫 方法,並 arguments 傳遞 參數。 方法 Select 是由控制項開發人員使用,但不會由頁面開發人員或頁面代碼使用。

適用於

另請參閱