NotifyCollectionChangedEventArgs Constructor (NotifyCollectionChangedAction, IList, IList)

[ 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 that describes a multi-item Replace change.

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

Syntax

Public Sub New ( _
    action As NotifyCollectionChangedAction, _
    newItems As IList, _
    oldItems As IList _
)
public NotifyCollectionChangedEventArgs(
    NotifyCollectionChangedAction action,
    IList newItems,
    IList oldItems
)

Parameters

Exceptions

Exception Condition
ArgumentException

If action is not Replace.

ArgumentNullException

If oldItems or newItems is null.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0

See Also

Reference

NotifyCollectionChangedEventArgs Class

NotifyCollectionChangedEventArgs Overload

System.Collections.Specialized Namespace