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 A 代表目前使用者的網站導覽結構。
例外狀況
arguments傳給 的 Select(DataSourceSelectArguments) 指示資料來源在擷取資料時應執行額外工作,以啟用分頁或排序所取得的資料,但資料來源控制不支援所請求的功能。
備註
該方法呼叫 Select 該 ExecuteSelect 方法,並傳遞 arguments 參數。 此 Select 方法由控制程式開發者使用,但頁面開發者及頁面程式碼中未使用。