ComponentOne Xamarin.Android
Create(NotifyCollectionChangedAction,IList,IList,Int32) Method


C1.CollectionView Assembly > C1.CollectionView Namespace > NotifyCollectionChangedAsyncEventArgs Class > Create Method : Create(NotifyCollectionChangedAction,IList,IList,Int32) 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 index of the first item of the items that are being replaced.
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 startingIndex As Integer _
) As NotifyCollectionChangedDeferralsAwaiter
'Usage
 
Dim action As NotifyCollectionChangedAction
Dim newItems As IList
Dim oldItems As IList
Dim startingIndex As Integer
Dim value As NotifyCollectionChangedDeferralsAwaiter
 
value = NotifyCollectionChangedAsyncEventArgs.Create(action, newItems, oldItems, startingIndex)

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.
startingIndex
The index of the first item of the items that are being replaced.
See Also

Reference

NotifyCollectionChangedAsyncEventArgs Class
NotifyCollectionChangedAsyncEventArgs Members
Overload List