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

System.Collections.IList.RemoveAt Method

Removes the item at the specified index of the current instance. [Edit]

public void RemoveAt (int index)

Parameters

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

Exceptions

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

Remarks

Operation
As described above.

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

[Edit]

Requirements

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