GridViewCommandEventArgs コンストラクター

定義

GridViewCommandEventArgs クラスの新しいインスタンスを初期化します。

オーバーロード

名前 説明
GridViewCommandEventArgs(Object, CommandEventArgs)

指定したコマンドのソースとイベント引数を使用して、 GridViewCommandEventArgs クラスの新しいインスタンスを初期化します。

GridViewCommandEventArgs(GridViewRow, Object, CommandEventArgs)

指定した行、コマンドのソース、およびイベント引数を使用して、 GridViewCommandEventArgs クラスの新しいインスタンスを初期化します。

GridViewCommandEventArgs(Object, CommandEventArgs)

指定したコマンドのソースとイベント引数を使用して、 GridViewCommandEventArgs クラスの新しいインスタンスを初期化します。

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

パラメーター

commandSource
Object

コマンドのソース。

originalArgs
CommandEventArgs

イベント データを含む CommandEventArgs オブジェクト。

注釈

このコンストラクターを使用して、 GridViewCommandEventArgs クラスの新しいインスタンスを初期化します。

次の表に、 GridViewCommandEventArgsのインスタンスの初期プロパティ値を示します。

財産 初期値
CommandArgument CommandArgument パラメーターに含まれるCommandEventArgs オブジェクトのoriginalArgs プロパティの値。
CommandName CommandName パラメーターに含まれるCommandEventArgs オブジェクトのoriginalArgs プロパティの値。
CommandSource commandSource パラメーターに含まれるオブジェクト。

Note

このコンストラクターは、イベントを発生させるときに、主にコントロール開発者によって使用されます。

こちらもご覧ください

適用対象

GridViewCommandEventArgs(GridViewRow, Object, CommandEventArgs)

指定した行、コマンドのソース、およびイベント引数を使用して、 GridViewCommandEventArgs クラスの新しいインスタンスを初期化します。

public:
 GridViewCommandEventArgs(System::Web::UI::WebControls::GridViewRow ^ row, System::Object ^ commandSource, System::Web::UI::WebControls::CommandEventArgs ^ originalArgs);
public GridViewCommandEventArgs(System.Web.UI.WebControls.GridViewRow row, object commandSource, System.Web.UI.WebControls.CommandEventArgs originalArgs);
new System.Web.UI.WebControls.GridViewCommandEventArgs : System.Web.UI.WebControls.GridViewRow * obj * System.Web.UI.WebControls.CommandEventArgs -> System.Web.UI.WebControls.GridViewCommandEventArgs
Public Sub New (row As GridViewRow, commandSource As Object, originalArgs As CommandEventArgs)

パラメーター

row
GridViewRow

ボタンを含む行を表す GridViewRow オブジェクト。

commandSource
Object

コマンドのソース。

originalArgs
CommandEventArgs

イベント データを含む CommandEventArgs オブジェクト。

注釈

このコンストラクターを使用して、 GridViewCommandEventArgs クラスの新しいインスタンスを初期化します。

次の表に、 GridViewCommandEventArgsのインスタンスの初期プロパティ値を示します。

財産 初期値
CommandArgument CommandArgument パラメーターに含まれるCommandEventArgs オブジェクトのoriginalArgs プロパティの値。
CommandName CommandName パラメーターに含まれるCommandEventArgs オブジェクトのoriginalArgs プロパティの値。
CommandSource commandSource パラメーターに含まれるオブジェクト。

Note

このコンストラクターは、イベントを発生させるときに、主にコントロール開発者によって使用されます。

こちらもご覧ください

適用対象