Mono Class Library: System.Collections.IList Overview | MembersSystem.Collections.IList.Insert Method |
Inserts an item to the current instance at the specified position. [Edit]
|
Type Reason ArgumentOutOfRangeException index is not a valid index in the current instance (i.e. is greater than the number of elements in the current instance). [Edit] NotSupportedException The current instance is read-only or has a fixed size. [Edit]
Operation
If index equals the number of items in the IList, then value is required to be appended to the end of the current instance.Usage
Use IList.Insert(int, object) to place a new element into a specific position in the current instance. [Edit]
Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0