[]
        
(Showing Draft Content)

C1.DataCollection.IDataCollectionEx.CanMoveRange

CanMoveRange Method

CanMoveRange<T>(IDataCollection<T>, int, int, int)

Determines whether the item at fromIndex can be moved to toIndex.

Declaration
public static bool CanMoveRange<T>(this IDataCollection<T> dataCollection, int fromIndex, int toIndex, int count) where T : class?
Public Shared Function CanMoveRange(Of T As Class)(dataCollection As IDataCollection(Of T), fromIndex As Integer, toIndex As Integer, count As Integer) As Boolean
Parameters
Type Name Description
IDataCollection<T> dataCollection

The data collection.

int fromIndex

The original index.

int toIndex

The destination index.

int count

The number of items to be moved.

Returns
Type Description
bool
Type Parameters
Name Description
T