DataCollection | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / NotifyCollectionChangedAsyncEventArgs Class / Create Method / Create(NotifyCollectionChangedAction,IList,IList,CancellationToken) Method
The action that caused the event. This can only be set to System.Collections.Specialized.NotifyCollectionChangedAction.Replace.
The new items that are replacing the original items.
The original items that are replaced.
The cancellation token.

In This Topic
    Create(NotifyCollectionChangedAction,IList,IList,CancellationToken) Method
    In This Topic
    Initializes a new instance of the NotifyCollectionChangedAsyncEventArgs class.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Create( _
       ByVal action As NotifyCollectionChangedAction, _
       ByVal newItems As IList, _
       ByVal oldItems As IList, _
       ByVal cancellationToken As CancellationToken _
    ) As NotifyCollectionChangedDeferralsAwaiter

    Parameters

    action
    The action that caused the event. This can only be set to System.Collections.Specialized.NotifyCollectionChangedAction.Replace.
    newItems
    The new items that are replacing the original items.
    oldItems
    The original items that are replaced.
    cancellationToken
    The cancellation token.
    See Also