[]
        
(Showing Draft Content)

C1.DataCollection.ISupportRangeEditing-1.ReplaceRangeAsync

ReplaceRangeAsync Method

ReplaceRangeAsync(int, IEnumerable<T>, CancellationToken)

Replaces the items starting at the specified startingIndex by the specified items.

Declaration
Task ReplaceRangeAsync(int startingIndex, IEnumerable<in T> items, CancellationToken cancellationToken = default)
Parameters
Type Name Description
int startingIndex

The starting index.

IEnumerable<T> items

The new items.

CancellationToken cancellationToken

The cancellation token.

Returns
Type Description
Task