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 (in Microsoft.VisualStudio.Modeling.Sdk.dll)

Syntax

'宣言
Public Sub InsertRange ( _
    index As Integer, _
    collection As IEnumerable(Of T) _
)
'使用
Dim instance As LinkedElementCollection
Dim index As Integer
Dim collection As IEnumerable(Of T)

instance.InsertRange(index, collection)
public void InsertRange(
    int index,
    IEnumerable<T> collection
)
public:
void InsertRange(
    int index, 
    IEnumerable<T>^ collection
)
public function InsertRange(
    index : int, 
    collection : IEnumerable<T>
)

Parameters

  • index
    Type: System.Int32

    The index of the first element to insert.

Permissions

See Also

Reference

LinkedElementCollection<T> Class

LinkedElementCollection<T> Members

Microsoft.VisualStudio.Modeling Namespace