Share via


IList.RemoveAt Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Removes the IList item at the specified index.

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

Syntax

'Declaration
Private Sub RemoveAt ( _
    index As Integer _
) Implements IList.RemoveAt
void IList.RemoveAt(
    int index
)
private:
virtual void RemoveAt(
    int index
) sealed = IList::RemoveAt
private abstract RemoveAt : 
        index:int -> unit 
private override RemoveAt : 
        index:int -> unit 
JScript does not support explicit interface implementations.

Parameters

Implements

IList. . :: . .RemoveAt(Int32)

Exceptions

Exception Condition
ArgumentOutOfRangeException

index is not a valid index in the IList.

NotSupportedException

The IList is read-only.

-or-

The IList has a fixed size.

Remarks

This member is an explicit interface member implementation. It can be used only when the Array instance is cast to an IList interface.

.NET Framework Security

See Also

Reference

Array Class

System Namespace