C1.DataCollection Assembly / C1.DataCollection Namespace / IDataCollectionEx Class / AddRangeAsync<T> Method
The data collection.
The items to be added.
The cancellation token.

In This Topic
AddRangeAsync<T> Method
In This Topic
Adds the specified item to the collection.
Syntax
'Declaration
 
Public Shared Function AddRangeAsync(Of T As Class)( _
   ByVal dataCollection As IDataCollection(Of T), _
   ByVal items As IReadOnlyList(Of T), _
   Optional ByVal cancellationToken As CancellationToken _
) As Task(Of Integer)
 

Parameters

dataCollection
The data collection.
items
The items to be added.
cancellationToken
The cancellation token.

Type Parameters

T
See Also