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,表示目前使用者的網站巡覽結構。
例外狀況
傳遞給 Select(DataSourceSelectArguments) 的 arguments
指定資料來源在擷取資料時應執行一些額外工作,來啟用分頁或排序擷取的資料,但是資料來源控制項不支援所要求的功能。
備註
方法會 SelectExecuteSelect 呼叫 方法,並 arguments
傳遞 參數。 方法 Select 是由控制項開發人員使用,但不會由頁面開發人員或頁面代碼使用。
適用於
另請參閱
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應