次の方法で共有


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 呼び出しによってインスタンスが作成されると、次のプロパティが指定された値に初期化されます。

プロパティ 初期値
CommandSource commandSource パラメーターの値。
SortExpression dce.CommandArgument パラメーターの値。

適用対象