PrincipalValueCollection<T>.RemoveAt(Int32) PrincipalValueCollection<T>.RemoveAt(Int32) PrincipalValueCollection<T>.RemoveAt(Int32) PrincipalValueCollection<T>.RemoveAt(Int32) Method

定義

從集合中移除指定索引處的物件。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)

參數

index
Int32 Int32 Int32 Int32

要從集合中移除的物件之索引。The index of the object to be removed from the collection.

實作

備註

ArgumentOutOfRangeException 如果index小於零, 或大於或等於集合的長度, 則會擲回。Throws an ArgumentOutOfRangeException if index is less than zero, or greater than or equal to the length of the collection.

適用於