Udostępnij za pośrednictwem


LinkedElementCollection<T>.InsertRange Method

Definition

Inserts a range of elements into collection at given index.

public:
 void InsertRange(int index, System::Collections::Generic::IEnumerable<T> ^ collection);
public void InsertRange (int index, System.Collections.Generic.IEnumerable<T> collection);
member this.InsertRange : int * seq<'T (requires 'T :> Microsoft.VisualStudio.Modeling.ModelElement)> -> unit
Public Sub InsertRange (index As Integer, collection As IEnumerable(Of T))

Parameters

index
Int32

Index of first inserted element.

collection
IEnumerable<T>

Elements to insert.

Applies to