Share via


ControlCollection.RemoveAt(Int32) Method

Definition

Removes the IList<T> item at the specified index.

public:
 virtual void RemoveAt(int index);
public void RemoveAt (int index);
abstract member RemoveAt : int -> unit
override this.RemoveAt : int -> unit
Public Sub RemoveAt (index As Integer)

Parameters

index
Int32

The zero-based index of the item to remove.

Implements

Exceptions

index is not a valid index in the IList<T>.

The IList<T> is read-only.

Applies to