Collection<T>.IList. Insert(Int32, Object) Method
Inserts an object into the collection at a specified index.
virtual void System.Collections.IList.Insert(int index, System::Object ^ value) = System::Collections::IList::Insert;
void IList.Insert (int index, object value);
Sub Insert (index As Integer, value As Object) Implements IList.Insert
The zero-based index at which
value is to be inserted.
The object to insert into the collection.
index specified is less than zero or greater than the number of items in the collection.
value set is
null or is not of the correct generic type
T for the collection.
index is equal to the number of elements in the collection, the item is appended to the list. If the
index is less than the number of elements in the collection, the elements that follow the point of insertion of the item move down to accommodate the new element.