[]
Removes one or more rows, starting with the specified row.
public void RemoveRows(int row, int count)
Public Sub RemoveRows(row As Integer, count As Integer)
Type | Name | Description |
---|---|---|
int | row | Index of first row to remove |
int | count | Number of rows to remove |
Type | Condition |
---|---|
ArgumentOutOfRangeException | Specified row is out of range; must be between 0 and total number of rows |
ArgumentOutOfRangeException | Specified number of rows is out of range; must be between 1 and total number of rows beyond the specified starting row |