DataGridSortCommandEventArgs(Object, DataGridCommandEventArgs) Konstruktor

Definice

Inicializuje novou instanci DataGridSortCommandEventArgs třídy.

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)

Parametry

commandSource
Object

Zdroj příkazu.

dce
DataGridCommandEventArgs

A DataGridCommandEventArgs obsahující data události.

Poznámky

Pomocí tohoto konstruktoru DataGridSortCommandEventArgs vytvořte a inicializujete novou instanci třídy.

Pokud je instance DataGridSortCommandEventArgs vytvořena voláním tohoto konstruktoru, následující vlastnosti jsou inicializovány na zadané hodnoty.

Vlastnost Počáteční hodnota
CommandSource Hodnota parametru commandSource .
SortExpression Hodnota parametru dce.CommandArgument .

Platí pro