次の方法で共有


NotifyCollectionChangedEventArgs コンストラクター

定義

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

public:
 NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction action, IBindableVector ^ newItems, IBindableVector ^ oldItems, int newIndex, int oldIndex);
 NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction const& action, IBindableVector const& newItems, IBindableVector const& oldItems, int const& newIndex, int const& oldIndex);
public NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction action, IList newItems, IList oldItems, int newIndex, int oldIndex);
function NotifyCollectionChangedEventArgs(action, newItems, oldItems, newIndex, oldIndex)
Public Sub New (action As NotifyCollectionChangedAction, newItems As IList, oldItems As IList, newIndex As Integer, oldIndex As Integer)

パラメーター

newItems
IBindableVector IList

レポート する NewItems 値。

oldItems
IBindableVector IList

レポート する OldItems 値。

newIndex
Int32

int

レポート する NewStartingIndex 値。

oldIndex
Int32

int

レポート する OldStartingIndex 値。

注釈

.NET を使用してプログラミングする場合、このクラスは非表示になり、開発者は System.Collections.Specialized.NotifyCollectionChangedEventArgs クラスを使用する必要があります。

action 以外の場合、このコンストラクターの値は、コレクションの変更と報告される対応する Action に応じて null として渡される可能性があります。

適用対象

こちらもご覧ください