System.Collections.IList.Insert Method
Inserts an object at a specified location (index number) in an array.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Syntax
void System.Collections.IList.Insert (
int index,
Object value
)
Parameters
- index
The index number at which you want to insert the specified object into the array. - value
The object you want to insert into the array.
Remarks
The Array object has a fixed size. Therefore, inserting objects into an array of this type does not increase the length of the arrary, and removing objects from it does not decrease its length.
This method always throws a NotSupportedException exception.
Version Information
Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.