Blazor | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / IDataCollectionEx Class / MoveAsync<T> Method
The data collection.
From index.
To index.

In This Topic
    MoveAsync<T> Method (IDataCollectionEx)
    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 dataCollection As IDataCollection(Of T), _
       ByVal fromIndex As Integer, _
       ByVal toIndex As Integer _
    ) As Task
    public static Task MoveAsync<T>( 
       IDataCollection<T> dataCollection,
       int fromIndex,
       int toIndex
    )
    where T: class

    Parameters

    dataCollection
    The data collection.
    fromIndex
    From index.
    toIndex
    To index.

    Type Parameters

    T
    See Also