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