[]
        
(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?
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