ListViewInsertedEventArgs(Int32, Exception) コンストラクター

定義

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

public:
 ListViewInsertedEventArgs(int affectedRows, Exception ^ exception);
public ListViewInsertedEventArgs(int affectedRows, Exception exception);
new System.Web.UI.WebControls.ListViewInsertedEventArgs : int * Exception -> System.Web.UI.WebControls.ListViewInsertedEventArgs
Public Sub New (affectedRows As Integer, exception As Exception)

パラメーター

affectedRows
Int32

挿入操作の影響を受ける行の数。

exception
Exception

挿入操作が実行されたときに発生する例外 (ある場合)。 例外が発生しなかった場合は、このパラメーターに null を使用します。

注釈

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

Note

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

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

財産 初期値
AffectedRows affectedRows パラメーターの値。
Exception System.Exception パラメーターに含まれるe オブジェクト。
ExceptionHandled falseに初期化されます。
KeepInInsertMode falseに初期化されます。

適用対象

こちらもご覧ください