ComponentOne CollectionView
C1.CollectionView Assembly / C1.CollectionView Namespace / ICollectionViewEx Class / MoveAsync<T> Method
The collection view.
From index.
To index.

In This Topic
    MoveAsync<T> Method (ICollectionViewEx)
    In This Topic
    Moves an item from the specified position to the new one.
    Syntax
    'Declaration
     
    Public Shared Function MoveAsync(Of T As Class)( _
       ByVal collectionView As ICollectionView(Of T), _
       ByVal fromIndex As System.Integer, _
       ByVal toIndex As System.Integer _
    ) As System.Threading.Tasks.Task
    public static System.Threading.Tasks.Task MoveAsync<T>( 
       ICollectionView<T> collectionView,
       System.int fromIndex,
       System.int toIndex
    )
    where T: class

    Parameters

    collectionView
    The collection view.
    fromIndex
    From index.
    toIndex
    To index.

    Type Parameters

    T
    See Also