ObservableList<T>.InsertRange Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
InsertRange(Int32, IEnumerable<T>) | |
InsertRange(Int32, IList<T>) |
InsertRange(Int32, IEnumerable<T>)
Inserts the elements of a collection into the List<T> at the specified index.
public void InsertRange (int index, System.Collections.Generic.IEnumerable<T> collection);
member this.InsertRange : int * seq<'T> -> unit
Public Sub InsertRange (index As Integer, collection As IEnumerable(Of T))
Parameters
- index
- Int32
- collection
- IEnumerable<T>
Applies to
InsertRange(Int32, IList<T>)
Inserts the elements of a collection into the List<T> at the specified index.
public void InsertRange (int index, System.Collections.Generic.IList<T> collection);
member this.InsertRange : int * System.Collections.Generic.IList<'T> -> unit
Public Sub InsertRange (index As Integer, collection As IList(Of T))
Parameters
- index
- Int32
- collection
- IList<T>