DataCollection | ComponentOne
C1.DataCollection.EntityFrameworkCore Assembly / C1.DataCollection.EntityFrameworkCore Namespace / C1EntityFrameworkCoreVirtualDataCollection<T> Class / MoveAsyncOverride Method
The original index of the item.
The destination index of the item.

In This Topic
    MoveAsyncOverride Method (C1EntityFrameworkCoreVirtualDataCollection<T>)
    In This Topic
    This method is called when an item is moved in the collection.
    Syntax
    'Declaration
     
    Protected Overridable Function MoveAsyncOverride( _
       ByVal fromIndex As Integer, _
       ByVal toIndex As Integer _
    ) As Task
    protected virtual Task MoveAsyncOverride( 
       int fromIndex,
       int toIndex
    )

    Parameters

    fromIndex
    The original index of the item.
    toIndex
    The destination index of the item.
    Remarks
    CanMove must return true to enable this method.
    See Also