When implemented by a class, inserts an object to the list at the specified position.
[Visual Basic]
Function Insert( _
ByVal index As Integer, _
ByVal value As Object _
) As Boolean
true if the list is modified; otherwise false.
This method hides the IList method that returns void. You may want to do an explicit interface method implementation for the IList version to be completely compatible.
| Exception Type | Condition |
|---|---|
| System.NotSupportedException | The list is read-only. -or-The list has a fixed size. |
IList2 Interface | IList2 Members | Foley.Utilities.Collections Namespace | IList2.Insert Overload List