SqlDataSourceSelectingEventArgs(DbCommand, DataSourceSelectArguments) Konstruktor
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Inicjuje SqlDataSourceSelectingEventArgs nowe wystąpienie klasy przy użyciu określonego DbCommand obiektu i wszystkich DataSourceSelectArguments przekazanych do Select(DataSourceSelectArguments) metody.
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)
Parametry
- command
- DbCommand
DbCommand Obiekt reprezentujący zapytanie, które można anulowaćSelect(DataSourceSelectArguments).
- arguments
- DataSourceSelectArguments
Obiekt DataSourceSelectArguments przekazany do Select(DataSourceSelectArguments) metody .
Uwagi
Parametr inputParameters jest kolekcją IDictionary par nazwa/wartość, które pasują do tych w podpisie metody i są przekazywane przez odwołanie.