Share via


LinkedElementCollection<T>.InsertRange Method

Inserts a range of elements into the collection at a specific index.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'Declaration
Public Sub InsertRange ( _
    index As Integer, _
    collection As IEnumerable(Of T) _
)
public void InsertRange(
    int index,
    IEnumerable<T> collection
)
public:
void InsertRange(
    int index, 
    IEnumerable<T>^ collection
)
member InsertRange : 
        index:int * 
        collection:IEnumerable<'T> -> unit 
public function InsertRange(
    index : int, 
    collection : IEnumerable<T>
)

Parameters

  • index
    Type: System.Int32
    The index of the first element to insert.

.NET Framework Security

See Also

Reference

LinkedElementCollection<T> Class

Microsoft.VisualStudio.Modeling Namespace