ComponentOne Xamarin Edition
ReplaceAsync<T> Method (ICollectionViewEx)
C1.CollectionView Assembly > C1.CollectionView Namespace > ICollectionViewEx Class : ReplaceAsync<T> Method
The collection view.
The index.
The item.
Replaces the item at the specified index by the specified item.
Syntax
[AsyncStateMachine(C1.CollectionView.ICollectionViewEx+d__57`1[T])] 
[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
See Also

Reference

ICollectionViewEx Class
ICollectionViewEx Members