SqlDataSourceSelectingEventArgs(DbCommand, DataSourceSelectArguments) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化類別的新實例 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) 取消查詢的物件。
- arguments
- DataSourceSelectArguments
物件傳遞 DataSourceSelectArguments 給方法 Select(DataSourceSelectArguments) 。
備註
參數 inputParameters 是 IDictionary 一組與方法簽章中名稱/值對相符的組合,並透過參考傳遞。