'Declaration
<AsyncStateMachineAttribute(C1.CollectionView.ICollectionViewEx/d__54`1)> <ExtensionAttribute()> Public Shared Function AddAsync(Of T As Class)( _ ByVal collectionView As ICollectionView(Of T), _ ByVal item As T _ ) As Task(Of Integer)
'Usage
Dim collectionView As ICollectionView(Of T) Dim item As T Dim value As Task(Of Integer) value = ICollectionViewEx.AddAsync(Of T)(collectionView, item)
[AsyncStateMachine(C1.CollectionView.ICollectionViewEx/d__54`1)] [Extension()] public static Task<int> AddAsync<T>( ICollectionView<T> collectionView, T item ) where T: class
Parameters
- collectionView
- The collection view.
- item
- The item to be added.
Type Parameters
- T