[]
Moves the data from a range of cells to the specified location.
public void Move(int fromRow, int fromColumn, int toRow, int toColumn, int rowCount, int columnCount)
Public Sub Move(fromRow As Integer, fromColumn As Integer, toRow As Integer, toColumn As Integer, rowCount As Integer, columnCount As Integer)
Type | Name | Description |
---|---|---|
int | fromRow | Row index of starting position of range to move |
int | fromColumn | Column index of starting position of range to move |
int | toRow | Row index of starting position of destination |
int | toColumn | Column index of starting position of destination |
int | rowCount | Number of rows in range |
int | columnCount | Number of columns in range |
Type | Condition |
---|---|
ArgumentException | Specified starting and ending row or row count is not valid |
ArgumentException | Specified starting and ending column or column count is not valid |