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 /值对的集合,与方法签名中的名称/值对匹配,并由引用传递。

适用于

另请参阅