(0) exportieren Drucken
Alle erweitern

NotifyCollectionChangedEventArgs-Konstruktor (NotifyCollectionChangedAction, Object, Object, Int32)

Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a one-item Replace change.

Namespace: System.Collections.Specialized
Assembly: WindowsBase (in windowsbase.dll)

public NotifyCollectionChangedEventArgs (
	NotifyCollectionChangedAction action,
	Object newItem,
	Object oldItem,
	int index
)
public NotifyCollectionChangedEventArgs (
	NotifyCollectionChangedAction action, 
	Object newItem, 
	Object oldItem, 
	int index
)
public function NotifyCollectionChangedEventArgs (
	action : NotifyCollectionChangedAction, 
	newItem : Object, 
	oldItem : Object, 
	index : int
)
Sie können diese Konstruktoren nicht in XAML verwenden.

Parameter

action

The action that caused the event. This can be set to Replace.

newItem

The new item that is replacing the original item.

oldItem

The original item that is replaced.

index

The index of the item being replaced.

AusnahmetypBedingung

ArgumentException

If action is not Replace.

Microsoft .NET Framework 3.0 wird unter Windows Vista, Microsoft Windows XP SP2 und Windows Server 2003 SP1 unterstützt.

.NET Framework

Unterstützt in: 3.0
Anzeigen:
© 2014 Microsoft