Parameters
- row
- Starting row index of range of cells
- column
- Starting column index of range of cells
- row2
- Ending row index of range of cells
- column2
- Ending column index of range of cells
Exception | Description |
---|---|
System.IndexOutOfRangeException | Specified row or column index is less than 0 or greater than or equal to the row count or column count. |
System.IndexOutOfRangeException | Specified starting row index is not valid; must be between zero and the total number of rows |
System.IndexOutOfRangeException | Specified starting column index is not valid; must be between zero and the total number of columns |
System.IndexOutOfRangeException | Specified starting row index is not valid; must be between zero and the total number of column header rows |
System.IndexOutOfRangeException | Specified starting column index is not valid; must be between zero and the total number of row header columns |
System.IndexOutOfRangeException | Specified ending row index is not valid; must be between zero and the total number of rows |
System.IndexOutOfRangeException | Specified ending column index is not valid; must be between zero and the total number of columns |
System.IndexOutOfRangeException | Specified ending row index is not valid; must be between zero and the total number of column header rows |
System.IndexOutOfRangeException | Specified ending column index is not valid; must be between zero and the total number of row header columns |