Partager via


System.Collections.IList.RemoveAt Method

Removes the object at a specified location (index number) in an array.

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

Syntax

void System.Collections.IList.RemoveAt (
         int index
)

Parameters

  • index
    The index number at which you want to remove an object from 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 array, 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.

See Also

Reference

Array Class
Array Members
System Namespace