DataCollection | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / ISupportRangeEditing<T> Interface / ReplaceRangeAsync Method
The starting index.
The new items.
The cancellation token.

In This Topic
    ReplaceRangeAsync Method (ISupportRangeEditing<T>)
    In This Topic
    Replaces the items starting at the specified startingIndex by the specified items.
    Syntax
    'Declaration
     
    Function ReplaceRangeAsync( _
       ByVal startingIndex As Integer, _
       ByVal items As IEnumerable(Of T), _
       Optional ByVal cancellationToken As CancellationToken _
    ) As Task
    Task ReplaceRangeAsync( 
       int startingIndex,
       IEnumerable<T> items,
       CancellationToken cancellationToken
    )

    Parameters

    startingIndex
    The starting index.
    items
    The new items.
    cancellationToken
    The cancellation token.
    See Also