DataCollection | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / IDataCollectionEx Class / CanMoveRange<T> Method
The data collection.
The original index.
The destination index.
The number of items to be moved.

In This Topic
    CanMoveRange<T> Method (IDataCollectionEx)
    In This Topic
    Determines whether the item at fromIndex can be moved to toIndex.
    Syntax
    'Declaration
     
    Public Shared Function CanMoveRange(Of T As Class)( _
       ByVal dataCollection As IDataCollection(Of T), _
       ByVal fromIndex As Integer, _
       ByVal toIndex As Integer, _
       ByVal count As Integer _
    ) As Boolean
    public static bool CanMoveRange<T>( 
       IDataCollection<T> dataCollection,
       int fromIndex,
       int toIndex,
       int count
    )
    where T: class

    Parameters

    dataCollection
    The data collection.
    fromIndex
    The original index.
    toIndex
    The destination index.
    count
    The number of items to be moved.

    Type Parameters

    T
    See Also