Swap Method (CellMatrix<T>)
In This Topic
Swaps a range of cells and pastes it with another range of cells at the specified location.
Syntax
'Declaration
Public Overridable Sub Swap( _
ByVal As Integer, _
ByVal column As Integer, _
ByVal As Integer, _
ByVal toColumn As Integer, _
ByVal As Integer, _
ByVal columnCount As Integer _
)
'Usage
Dim instance As CellMatrix(Of T)
Dim row As Integer
Dim column As Integer
Dim toRow As Integer
Dim toColumn As Integer
Dim rowCount As Integer
Dim columnCount As Integer
instance.Swap(row, column, toRow, toColumn, rowCount, columnCount)
public virtual void Swap(
int ,
int column,
int ,
int toColumn,
int ,
int columnCount
)
Parameters
- row
- column
- toRow
- Row index at which to swap the cell range
- toColumn
- Column index at which to swap the cell range
- rowCount
- Number of rows to swap.
- columnCount
- Number of columns to swap.
See Also