[]
        
(Showing Draft Content)

C1.DataCollection.IDataCollectionEx.CanRemoveRange

CanRemoveRange Method

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

Determines whether the items at the specified index can be removed from the collection.

Declaration
public static bool CanRemoveRange<T>(this IDataCollection<T> dataCollection, int index, int count) where T : class?
Parameters
Type Name Description
IDataCollection<T> dataCollection

The data collection.

int index

The index of the item that would be removed.

int count

The number of items to be removed.

Returns
Type Description
bool
Type Parameters
Name Description
T