語言

SqlDataSourceSelectingEventArgs(DbCommand, DataSourceSelectArguments) 建構函式

定義

初始化類別的新實例 SqlDataSourceSelectingEventArgs ,使用指定的 DbCommand 物件及 DataSourceSelectArguments 傳遞給方法的任何 Select(DataSourceSelectArguments) 物件。

public:
 SqlDataSourceSelectingEventArgs(System::Data::Common::DbCommand ^ command, System::Web::UI::DataSourceSelectArguments ^ arguments);
public SqlDataSourceSelectingEventArgs(System.Data.Common.DbCommand command, System.Web.UI.DataSourceSelectArguments arguments);
new System.Web.UI.WebControls.SqlDataSourceSelectingEventArgs : System.Data.Common.DbCommand * System.Web.UI.DataSourceSelectArguments -> System.Web.UI.WebControls.SqlDataSourceSelectingEventArgs
Public Sub New (command As DbCommand, arguments As DataSourceSelectArguments)

參數

command
DbCommand

一個 DbCommand 代表可 Select(DataSourceSelectArguments) 取消查詢的物件。

備註

參數 inputParameters 是 IDictionary 一組與方法簽章中名稱/值對相符的組合,並透過參考傳遞。

適用於

另請參閱