DataGridSortCommandEventArgs(Object, DataGridCommandEventArgs) 构造函数

定义

初始化 DataGridSortCommandEventArgs 类的新实例。

public:
 DataGridSortCommandEventArgs(System::Object ^ commandSource, System::Web::UI::WebControls::DataGridCommandEventArgs ^ dce);
public DataGridSortCommandEventArgs (object commandSource, System.Web.UI.WebControls.DataGridCommandEventArgs dce);
new System.Web.UI.WebControls.DataGridSortCommandEventArgs : obj * System.Web.UI.WebControls.DataGridCommandEventArgs -> System.Web.UI.WebControls.DataGridSortCommandEventArgs
Public Sub New (commandSource As Object, dce As DataGridCommandEventArgs)

参数

commandSource
Object

命令源。

dce
DataGridCommandEventArgs

包含事件数据的 DataGridCommandEventArgs

注解

使用此构造函数创建和初始化类的新实例 DataGridSortCommandEventArgs

通过调用此构造函数创建实例 DataGridSortCommandEventArgs 时,以下属性将初始化为指定的值。

properties 初始值
CommandSource commandSource 参数的值。
SortExpression dce.CommandArgument 参数的值。

适用于