Upravit

Sdílet prostřednictvím


PrincipalValueCollection<T>.RemoveAt(Int32) Method

Definition

Removes the object at the specified index from the collection.

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 index of the object to be removed from the collection.

Implements

Remarks

Throws an ArgumentOutOfRangeException if index is less than zero, or greater than or equal to the length of the collection.

Applies to