語言

ListView.CreateDataSourceSelectArguments 方法

定義

建立 DataSourceSelectArguments 包含傳入資料來源的參數的物件。

protected:
 override System::Web::UI::DataSourceSelectArguments ^ CreateDataSourceSelectArguments();
protected override System.Web.UI.DataSourceSelectArguments CreateDataSourceSelectArguments();
override this.CreateDataSourceSelectArguments : unit -> System.Web.UI.DataSourceSelectArguments
Protected Overrides Function CreateDataSourceSelectArguments () As DataSourceSelectArguments

傳回

傳遞給資料來源的參數。

備註

這個 CreateDataSourceSelectArguments 方法是一個由 ListView 控制項呼叫的輔助方法。 在此實作中, DataSourceSelectArguments 物件包含分頁操作的參數。

給繼承者的注意事項

當你擴充類別時 ListView ,可以覆寫這個方法,並指定自訂值,然後傳給資料來源。

適用於

另請參閱