ComponentOne CollectionView
C1.CollectionView Assembly / C1.CollectionView Namespace / ICollectionViewEx Class / ReplaceAsync<T> Method
The collection view.
The index.
The item.

In This Topic
    ReplaceAsync<T> Method (ICollectionViewEx)
    In This Topic
    Replaces the item at the specified index by the specified item.
    Syntax
    'Declaration
     
    Public Shared Function ReplaceAsync(Of T As Class)( _
       ByVal collectionView As ICollectionView(Of T), _
       ByVal index As System.Integer, _
       ByVal item As T _
    ) As System.Threading.Tasks.Task
    public static System.Threading.Tasks.Task ReplaceAsync<T>( 
       ICollectionView<T> collectionView,
       System.int index,
       T item
    )
    where T: class

    Parameters

    collectionView
    The collection view.
    index
    The index.
    item
    The item.

    Type Parameters

    T
    See Also