[]
        
(Showing Draft Content)

C1.DataCollection.IDataCollectionEx.CanReplaceRange

CanReplaceRange Method

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

Determines whether the items at the specified index can be replaced in the collection.

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

The data collection.

int startingIndex

The index of the item that would be replaced.

IEnumerable<T> items

The items that would be replaced.

Returns
Type Description
bool
Type Parameters
Name Description
T