Swap Method
Swap(int, int)
Swaps two pages specified by their 0-based indices.
Declaration
public void Swap(int index1, int index2)
Public Sub Swap(index1 As Integer, index2 As Integer)
Parameters
Type |
Name |
Description |
int |
index1 |
The index of the first page to swap.
|
int |
index2 |
The index of the second page to swap.
|