| Visual Basic (Declaration) | |
|---|---|
Public Sub SwapRows( _ ByVal row1 As Integer, _ ByVal row2 As Integer _ ) | |
| Visual Basic (Usage) | |
|---|---|
Dim instance As Matrix Dim row1 As Integer Dim row2 As Integer instance.SwapRows(row1, row2) | |
Parameters
- row1
- An integer specifying the first row to swap.
- row2
- An integer specifying the second row to swap.
| Exception | Description |
|---|---|
| IndexOutOfBoundsException | Any of row1, row2 exceeds matrix size. |
Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7