NotifyCollectionChangedEventArgs Constructor (NotifyCollectionChangedAction)

NotifyCollectionChangedEventArgs Constructor (NotifyCollectionChangedAction)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Initializes a new instance of the NotifyCollectionChangedEventArgs class, specifying the NotifyCollectionChangedAction value.

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

'Declaration
Public Sub New ( _
	action As NotifyCollectionChangedAction _
)

Parameters

action
Type: System.Collections.Specialized.NotifyCollectionChangedAction
The action value, as a value of the enumeration. This should always be Reset; see Remarks.

ExceptionCondition
NotSupportedException

action is not Reset.

Reset is the only valid action that can be passed to this constructor signature. After construction, NotifyCollectionChangedEventArgs properties are immutable, and only the Reset action does not require additional information such as the index where the change happened.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft