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