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 成對名稱/值的集合,其符合方法簽章中的名稱/值組,並以傳址方式傳遞。

適用於

另請參閱