DataCollection | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / ISupportRangeEditing<T> Interface / MoveAsync Method
From index.
To index.
The cancellation token.

In This Topic
    MoveAsync Method (ISupportRangeEditing<T>)
    In This Topic
    Moves an item from the specified fromIndex to toIndex.
    Syntax
    'Declaration
     
    Function MoveAsync( _
       ByVal fromIndex As Integer, _
       ByVal toIndex As Integer, _
       Optional ByVal cancellationToken As CancellationToken _
    ) As Task
    Task MoveAsync( 
       int fromIndex,
       int toIndex,
       CancellationToken cancellationToken
    )

    Parameters

    fromIndex
    From index.
    toIndex
    To index.
    cancellationToken
    The cancellation token.
    See Also