SqlDataSourceSelectingEventArgs(DbCommand, DataSourceSelectArguments) 构造函数
定义
使用指定的 SqlDataSourceSelectingEventArgs 对象和传递给 DbCommand 方法的任意 DataSourceSelectArguments,初始化 Select(DataSourceSelectArguments) 类的新实例。Initializes a new instance of the SqlDataSourceSelectingEventArgs class, using the specified DbCommand object and any DataSourceSelectArguments passed to the Select(DataSourceSelectArguments) method.
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) 查询。An DbCommand object that represents the cancelable Select(DataSourceSelectArguments) query.
- arguments
- DataSourceSelectArguments
传递给 DataSourceSelectArguments 方法的 Select(DataSourceSelectArguments) 对象。The DataSourceSelectArguments object passed to the Select(DataSourceSelectArguments) method.
注解
inputParameters参数是 IDictionary 名称/值对的集合,这些名称/值对与方法签名中的匹配,并按引用传递。The inputParameters parameter is an IDictionary collection of name/value pairs that match those in the method signature and are passed by reference.