TableRowCollection.RemoveAt(Int32) メソッド
定義
インデックスで指定した項目をコレクションから削除します。Removes an item, specified by 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
削除するコレクション項目を指定する、0 から始まるインデックス。A zero-based index that specifies the collection item to remove.
実装
例外
index がゼロ未満か、index が Count 以上の場合に発生します。Raised when index is less than zero, or when index is greater than or equal to Count.
注釈
削除されたコレクションアイテムを反映するように、残りのコレクションアイテムのインデックスを調整できます。Indices for remaining collection items may be adjusted to reflect the removed collection item.