CompositeCollection.RemoveAt(Int32) 方法

定義

從集合中的指定索引處移除項目。 所有剩下的項目都會上移一個位置。

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

參數

removeIndex
Int32

要移除項目處的索引。

實作

例外狀況

索引是否超出範圍。

適用於