[]
        
(Showing Draft Content)

C1.DataCollection.IDataCollectionEx.CanInsertRange

CanInsertRange Method

CanInsertRange<T>(IDataCollection<T>, int, IEnumerable<T>)

Determines whether a new range of items can be inserted in the collection at the specified index.

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

The data collection.

int index

The index where the items would be inserted.

IEnumerable<T> items

The items to be inserted.

Returns
Type Description
bool
Type Parameters
Name Description
T