TableCellCollection.RemoveAt(Int32) 方法

定義

移除集合中透過索引所指定的項目。

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

以零為起始的索引,指定要移除的集合項目。

實作

例外狀況

index 小於零時,或者當 index 大於或等於 Count 時引發。

備註

剩餘集合專案的索引可能會進行調整,以反映已移除的集合專案。

適用於

另請參閱