Grid View Row Collection. Remove At(Int32) Method
Removes the row at the specified position from the collection.
public: virtual void RemoveAt(int index);
public virtual void RemoveAt (int index);
abstract member RemoveAt : int -> unit override this.RemoveAt : int -> unit
Public Overridable Sub RemoveAt (index As Integer)
The position of the row to remove.
index is less than zero and greater than the number of rows in the collection minus one.
The associated DataGridView control is performing one of the following actions that temporarily prevents new rows from being added:
Selecting all cells in the control.
Clearing the selection.
This method is being called from a handler for one of the following DataGridView events: