Inserts all the elements of an ICollection starting at a index in the LinkedList.
[Visual Basic]
Overrides Overloads Public Function Insert( _
ByVal index As Integer, _
ByVal collection As ICollection _
) As Boolean Implements _
IList2.Insert
true if the LinkedList is modified; otherwise false.
| Exception Type | Condition |
|---|---|
| System.NullReferenceException | The collection is a null reference (Nothing in Visual Basic). |
| System.ArgumentOutOfRangeException | The index is less than zero. |
LinkedList Class | LinkedList Members | Foley.Utilities.Collections Namespace | LinkedList.Insert Overload List