Share via


ConfigurationElementCollectionBase<T>.RemoveAt(Int32) Method

Definition

Removes the element at the specified index of the collection.

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

Parameters

index
Int32

The zero-based index of the element to remove.

Exceptions

index is less than 0.

-or-

index is equal to or greater than Count.

Applies to