NotifyCollectionChangedEventArgs コンストラクター

定義

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

オーバーロード

名前 説明
NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction)

Resetの変更を記述するNotifyCollectionChangedEventArgs クラスの新しいインスタンスを初期化します。

NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, IList)

複数項目の変更を記述する NotifyCollectionChangedEventArgs クラスの新しいインスタンスを初期化します。

NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, Object)

1 項目の変更を記述する NotifyCollectionChangedEventArgs クラスの新しいインスタンスを初期化します。

NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, IList, IList)

複数項目の変更を記述する NotifyCollectionChangedEventArgs クラスの新しいインスタンス Replace 初期化します。

NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, IList, Int32)

複数項目の変更またはResetの変更を記述するNotifyCollectionChangedEventArgs クラスの新しいインスタンスを初期化します。

NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, Object, Int32)

1 項目の変更を記述する NotifyCollectionChangedEventArgs クラスの新しいインスタンスを初期化します。

NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, Object, Object)

1 項目の変更を記述する NotifyCollectionChangedEventArgs クラスの新しいインスタンス Replace 初期化します。

NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, IList, IList, Int32)

複数項目の変更を記述する NotifyCollectionChangedEventArgs クラスの新しいインスタンス Replace 初期化します。

NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, IList, Int32, Int32)

複数項目の変更を記述する NotifyCollectionChangedEventArgs クラスの新しいインスタンス Move 初期化します。

NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, Object, Int32, Int32)

1 項目の変更を記述する NotifyCollectionChangedEventArgs クラスの新しいインスタンス Move 初期化します。

NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, Object, Object, Int32)

1 項目の変更を記述する NotifyCollectionChangedEventArgs クラスの新しいインスタンス Replace 初期化します。

NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction)

Resetの変更を記述するNotifyCollectionChangedEventArgs クラスの新しいインスタンスを初期化します。

public:
 NotifyCollectionChangedEventArgs(System::Collections::Specialized::NotifyCollectionChangedAction action);
public NotifyCollectionChangedEventArgs(System.Collections.Specialized.NotifyCollectionChangedAction action);
new System.Collections.Specialized.NotifyCollectionChangedEventArgs : System.Collections.Specialized.NotifyCollectionChangedAction -> System.Collections.Specialized.NotifyCollectionChangedEventArgs
Public Sub New (action As NotifyCollectionChangedAction)

パラメーター

action
NotifyCollectionChangedAction

イベントの原因となったアクション。 これは、Reset に設定する必要があります。

適用対象

NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, IList)

複数項目の変更を記述する NotifyCollectionChangedEventArgs クラスの新しいインスタンスを初期化します。

public:
 NotifyCollectionChangedEventArgs(System::Collections::Specialized::NotifyCollectionChangedAction action, System::Collections::IList ^ changedItems);
public NotifyCollectionChangedEventArgs(System.Collections.Specialized.NotifyCollectionChangedAction action, System.Collections.IList changedItems);
new System.Collections.Specialized.NotifyCollectionChangedEventArgs : System.Collections.Specialized.NotifyCollectionChangedAction * System.Collections.IList -> System.Collections.Specialized.NotifyCollectionChangedEventArgs
Public Sub New (action As NotifyCollectionChangedAction, changedItems As IList)

パラメーター

action
NotifyCollectionChangedAction

イベントの原因となったアクション。 これは、 ResetAdd、または Removeに設定できます。

changedItems
IList

変更の影響を受ける項目。

適用対象

NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, Object)

1 項目の変更を記述する NotifyCollectionChangedEventArgs クラスの新しいインスタンスを初期化します。

public:
 NotifyCollectionChangedEventArgs(System::Collections::Specialized::NotifyCollectionChangedAction action, System::Object ^ changedItem);
public NotifyCollectionChangedEventArgs(System.Collections.Specialized.NotifyCollectionChangedAction action, object changedItem);
new System.Collections.Specialized.NotifyCollectionChangedEventArgs : System.Collections.Specialized.NotifyCollectionChangedAction * obj -> System.Collections.Specialized.NotifyCollectionChangedEventArgs
Public Sub New (action As NotifyCollectionChangedAction, changedItem As Object)

パラメーター

action
NotifyCollectionChangedAction

イベントの原因となったアクション。 これは、 ResetAdd、または Removeに設定できます。

changedItem
Object

変更の影響を受ける項目。

例外

actionがリセット、追加、または削除されていない場合、またはactionが Reset でchangedItemが null でない場合。

適用対象

NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, IList, IList)

複数項目の変更を記述する NotifyCollectionChangedEventArgs クラスの新しいインスタンス Replace 初期化します。

public:
 NotifyCollectionChangedEventArgs(System::Collections::Specialized::NotifyCollectionChangedAction action, System::Collections::IList ^ newItems, System::Collections::IList ^ oldItems);
public NotifyCollectionChangedEventArgs(System.Collections.Specialized.NotifyCollectionChangedAction action, System.Collections.IList newItems, System.Collections.IList oldItems);
new System.Collections.Specialized.NotifyCollectionChangedEventArgs : System.Collections.Specialized.NotifyCollectionChangedAction * System.Collections.IList * System.Collections.IList -> System.Collections.Specialized.NotifyCollectionChangedEventArgs
Public Sub New (action As NotifyCollectionChangedAction, newItems As IList, oldItems As IList)

パラメーター

action
NotifyCollectionChangedAction

イベントの原因となったアクション。 これは、 Replaceにのみ設定できます。

newItems
IList

元の項目を置き換える新しい項目。

oldItems
IList

置き換えられる元の項目。

例外

actionが [置換] でない場合。

oldItemsまたはnewItemsが null の場合。

適用対象

NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, IList, Int32)

複数項目の変更またはResetの変更を記述するNotifyCollectionChangedEventArgs クラスの新しいインスタンスを初期化します。

public:
 NotifyCollectionChangedEventArgs(System::Collections::Specialized::NotifyCollectionChangedAction action, System::Collections::IList ^ changedItems, int startingIndex);
public NotifyCollectionChangedEventArgs(System.Collections.Specialized.NotifyCollectionChangedAction action, System.Collections.IList changedItems, int startingIndex);
new System.Collections.Specialized.NotifyCollectionChangedEventArgs : System.Collections.Specialized.NotifyCollectionChangedAction * System.Collections.IList * int -> System.Collections.Specialized.NotifyCollectionChangedEventArgs
Public Sub New (action As NotifyCollectionChangedAction, changedItems As IList, startingIndex As Integer)

パラメーター

action
NotifyCollectionChangedAction

イベントの原因となったアクション。 これは、 ResetAdd、または Removeに設定できます。

changedItems
IList

変更の影響を受ける項目。

startingIndex
Int32

変更が発生したインデックス。

例外

actionがリセット、追加、または削除でない場合、actionが Reset で、changedItemsが null でないか、startingIndexが -1 でない場合、またはアクションが [追加] または [削除] でstartingIndexが -1 未満の場合。

actionが [追加] または [削除] で、changedItemsが null の場合。

適用対象

NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, Object, Int32)

1 項目の変更を記述する NotifyCollectionChangedEventArgs クラスの新しいインスタンスを初期化します。

public:
 NotifyCollectionChangedEventArgs(System::Collections::Specialized::NotifyCollectionChangedAction action, System::Object ^ changedItem, int index);
public NotifyCollectionChangedEventArgs(System.Collections.Specialized.NotifyCollectionChangedAction action, object changedItem, int index);
new System.Collections.Specialized.NotifyCollectionChangedEventArgs : System.Collections.Specialized.NotifyCollectionChangedAction * obj * int -> System.Collections.Specialized.NotifyCollectionChangedEventArgs
Public Sub New (action As NotifyCollectionChangedAction, changedItem As Object, index As Integer)

パラメーター

action
NotifyCollectionChangedAction

イベントの原因となったアクション。 これは、 ResetAdd、または Removeに設定できます。

changedItem
Object

変更の影響を受ける項目。

index
Int32

変更が発生したインデックス。

例外

actionが Reset、Add、Remove でない場合、または action が Reset で、changedItemが null でないか、indexが -1 ではない場合。

適用対象

NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, Object, Object)

1 項目の変更を記述する NotifyCollectionChangedEventArgs クラスの新しいインスタンス Replace 初期化します。

public:
 NotifyCollectionChangedEventArgs(System::Collections::Specialized::NotifyCollectionChangedAction action, System::Object ^ newItem, System::Object ^ oldItem);
public NotifyCollectionChangedEventArgs(System.Collections.Specialized.NotifyCollectionChangedAction action, object newItem, object oldItem);
new System.Collections.Specialized.NotifyCollectionChangedEventArgs : System.Collections.Specialized.NotifyCollectionChangedAction * obj * obj -> System.Collections.Specialized.NotifyCollectionChangedEventArgs
Public Sub New (action As NotifyCollectionChangedAction, newItem As Object, oldItem As Object)

パラメーター

action
NotifyCollectionChangedAction

イベントの原因となったアクション。 これは、 Replaceにのみ設定できます。

newItem
Object

元の項目を置き換える新しい項目。

oldItem
Object

置き換えられる元の項目。

例外

actionが [置換] でない場合。

適用対象

NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, IList, IList, Int32)

複数項目の変更を記述する NotifyCollectionChangedEventArgs クラスの新しいインスタンス Replace 初期化します。

public:
 NotifyCollectionChangedEventArgs(System::Collections::Specialized::NotifyCollectionChangedAction action, System::Collections::IList ^ newItems, System::Collections::IList ^ oldItems, int startingIndex);
public NotifyCollectionChangedEventArgs(System.Collections.Specialized.NotifyCollectionChangedAction action, System.Collections.IList newItems, System.Collections.IList oldItems, int startingIndex);
new System.Collections.Specialized.NotifyCollectionChangedEventArgs : System.Collections.Specialized.NotifyCollectionChangedAction * System.Collections.IList * System.Collections.IList * int -> System.Collections.Specialized.NotifyCollectionChangedEventArgs
Public Sub New (action As NotifyCollectionChangedAction, newItems As IList, oldItems As IList, startingIndex As Integer)

パラメーター

action
NotifyCollectionChangedAction

イベントの原因となったアクション。 これは、 Replaceにのみ設定できます。

newItems
IList

元の項目を置き換える新しい項目。

oldItems
IList

置き換えられる元の項目。

startingIndex
Int32

置き換えられる項目の最初の項目のインデックス。

例外

actionが [置換] でない場合。

oldItemsまたはnewItemsが null の場合。

適用対象

NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, IList, Int32, Int32)

複数項目の変更を記述する NotifyCollectionChangedEventArgs クラスの新しいインスタンス Move 初期化します。

public:
 NotifyCollectionChangedEventArgs(System::Collections::Specialized::NotifyCollectionChangedAction action, System::Collections::IList ^ changedItems, int index, int oldIndex);
public NotifyCollectionChangedEventArgs(System.Collections.Specialized.NotifyCollectionChangedAction action, System.Collections.IList changedItems, int index, int oldIndex);
new System.Collections.Specialized.NotifyCollectionChangedEventArgs : System.Collections.Specialized.NotifyCollectionChangedAction * System.Collections.IList * int * int -> System.Collections.Specialized.NotifyCollectionChangedEventArgs
Public Sub New (action As NotifyCollectionChangedAction, changedItems As IList, index As Integer, oldIndex As Integer)

パラメーター

action
NotifyCollectionChangedAction

イベントの原因となったアクション。 これは、 Moveにのみ設定できます。

changedItems
IList

変更の影響を受ける項目。

index
Int32

変更された項目の新しいインデックス。

oldIndex
Int32

変更された項目の古いインデックス。

例外

actionが Move でない場合、または index が 0 未満の場合。

適用対象

NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, Object, Int32, Int32)

1 項目の変更を記述する NotifyCollectionChangedEventArgs クラスの新しいインスタンス Move 初期化します。

public:
 NotifyCollectionChangedEventArgs(System::Collections::Specialized::NotifyCollectionChangedAction action, System::Object ^ changedItem, int index, int oldIndex);
public NotifyCollectionChangedEventArgs(System.Collections.Specialized.NotifyCollectionChangedAction action, object changedItem, int index, int oldIndex);
new System.Collections.Specialized.NotifyCollectionChangedEventArgs : System.Collections.Specialized.NotifyCollectionChangedAction * obj * int * int -> System.Collections.Specialized.NotifyCollectionChangedEventArgs
Public Sub New (action As NotifyCollectionChangedAction, changedItem As Object, index As Integer, oldIndex As Integer)

パラメーター

action
NotifyCollectionChangedAction

イベントの原因となったアクション。 これは、 Moveにのみ設定できます。

changedItem
Object

変更の影響を受ける項目。

index
Int32

変更された項目の新しいインデックス。

oldIndex
Int32

変更された項目の古いインデックス。

例外

actionが Move でない場合、または index が 0 未満の場合。

適用対象

NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, Object, Object, Int32)

1 項目の変更を記述する NotifyCollectionChangedEventArgs クラスの新しいインスタンス Replace 初期化します。

public:
 NotifyCollectionChangedEventArgs(System::Collections::Specialized::NotifyCollectionChangedAction action, System::Object ^ newItem, System::Object ^ oldItem, int index);
public NotifyCollectionChangedEventArgs(System.Collections.Specialized.NotifyCollectionChangedAction action, object newItem, object oldItem, int index);
new System.Collections.Specialized.NotifyCollectionChangedEventArgs : System.Collections.Specialized.NotifyCollectionChangedAction * obj * obj * int -> System.Collections.Specialized.NotifyCollectionChangedEventArgs
Public Sub New (action As NotifyCollectionChangedAction, newItem As Object, oldItem As Object, index As Integer)

パラメーター

action
NotifyCollectionChangedAction

イベントの原因となったアクション。 これは Replaceに設定できます。

newItem
Object

元の項目を置き換える新しい項目。

oldItem
Object

置き換えられる元の項目。

index
Int32

置き換えられる項目のインデックス。

例外

actionが [置換] でない場合。

適用対象