OneOrMany<T>.RemoveAt(Int32) 方法

定义

从集合中删除指定索引处的项。

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

参数

index
Int32

要移除的项的从零开始的索引。

例外

index为负或超出集合的末尾。

适用于