ComponentOne Xamarin.Android
Create(NotifyCollectionChangedAction,Object) Method


C1.CollectionView Assembly > C1.CollectionView Namespace > NotifyCollectionChangedAsyncEventArgs Class > Create Method : Create(NotifyCollectionChangedAction,Object) Method
The action that caused the event. This can be set to System.Collections.Specialized.NotifyCollectionChangedAction.Reset, System.Collections.Specialized.NotifyCollectionChangedAction.Add, or System.Collections.Specialized.NotifyCollectionChangedAction.Remove.
The item that is affected by the change.
Initializes a new instance of the NotifyCollectionChangedAsyncEventArgs class.
Syntax
'Declaration
 
Public Overloads Shared Function Create( _
   ByVal action As NotifyCollectionChangedAction, _
   ByVal changedItem As Object _
) As NotifyCollectionChangedDeferralsAwaiter
'Usage
 
Dim action As NotifyCollectionChangedAction
Dim changedItem As Object
Dim value As NotifyCollectionChangedDeferralsAwaiter
 
value = NotifyCollectionChangedAsyncEventArgs.Create(action, changedItem)

Parameters

action
The action that caused the event. This can be set to System.Collections.Specialized.NotifyCollectionChangedAction.Reset, System.Collections.Specialized.NotifyCollectionChangedAction.Add, or System.Collections.Specialized.NotifyCollectionChangedAction.Remove.
changedItem
The item that is affected by the change.
See Also

Reference

NotifyCollectionChangedAsyncEventArgs Class
NotifyCollectionChangedAsyncEventArgs Members
Overload List