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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.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: Int32

    The index of the first element to insert.

  • collection
    Type: IEnumerable<T>

    The range of elements to insert.

.NET Framework Security

See Also

Reference

LinkedElementCollection<T> Class

Microsoft.VisualStudio.Modeling Namespace