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