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
'Déclaration
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.
- collection
Type: System.Collections.Generic.IEnumerable<T>
The range of elements to insert.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.