ObjectDataSourceView.Select(DataSourceSelectArguments) 方法

定義

透過呼叫該TypeName屬性識別的方法並傳遞集合中的SelectMethod任意值,從物件SelectParameters中擷取資料。

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 A 用於請求資料操作,超出基本資料檢索範圍。

傳回

一份 IEnumerable 資料列清單。 如需詳細資訊,請參閱SelectMethod

例外狀況

傳給方法arguments的 API Select(DataSourceSelectArguments) 指定資料來源在擷取資料時應執行額外工作,以啟用分頁或排序資料,但資料來源控制不支援所請求的功能。

備註

Select 方法呼叫 傳遞 ExecuteSelect 參數 arguments

適用於

另請參閱