Mono Class Library: System.Collections.IList Overview | Members

System.Collections.IList.RemoveAt Method

Removes the item at the specified index of the current instance.

public void RemoveAt (int index)

Parameters

index
A int that specifies the zero-based index of the item to remove.

Exceptions

TypeReason
ArgumentOutOfRangeExceptionindex is not a valid index in current instance.
NotSupportedExceptionThe current instance is read-only or has a fixed size.

Remarks

Operation
As described above.

Usage
Use IList.RemoveAt(int) to delete a specified object from the current instance.

Requirements

Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0