'Declaration
Public Shared Function InsertRangeAsync(Of T As Class)( _ ByVal dataCollection As IDataCollection(Of T), _ ByVal index As Integer, _ ByVal items As IEnumerable(Of T), _ Optional ByVal cancellationToken As CancellationToken _ ) As Task(Of Integer)
public static Task<int> InsertRangeAsync<T>( IDataCollection<T> dataCollection, int index, IEnumerable<T> items, CancellationToken cancellationToken ) where T: class
Parameters
- dataCollection
- The data collection.
- index
- The index where the item will be inserted.
- items
- The items to be inserted.
- cancellationToken
- The cancellation token.
Type Parameters
- T