Adds the specified item to the collection.
シンタックス
'宣言
Public Shared Function AddRangeAsync(Of As Class)( _
ByVal As IDataCollection(Of T), _
ByVal As System.Collections.Generic.IReadOnlyList(Of T), _
Optional ByVal As System.Threading.CancellationToken _
) As System.Threading.Tasks.Task(Of Integer)
public static System.Threading.Tasks.Task<int> AddRangeAsync<>(
IDataCollection<T> ,
System.Collections.Generic.IReadOnlyList<T> ,
System.Threading.CancellationToken
)
where T: class
パラメータ
- dataCollection
- The data collection.
- items
- The items to be added.
- cancellationToken
- The cancellation token.
型パラメータ
- T
参照