Partager via


System.Collections.IList.Remove Method

Removes a specified object from an array.

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

Syntax

void System.Collections.IList.Remove (
         Object value
)

Parameters

  • value
    The object you want to remove 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