This documentation is for the old version. Go to the latest Graphics Mill docs

ListItemCollection.Swap Method (Int32, Int32)

Swaps two elements with the specified indices.

Namespace: Aurigma.GraphicsMill.WinControls
Assembly: Aurigma.GraphicsMill.WinControls (in Aurigma.GraphicsMill.WinControls.dll)

Syntax

Visual Basic
Public Sub Swap ( _
	index0 As Integer, _
	index1 As Integer _
)
C#
public void Swap(
	int index0,
	int index1
)

Parameters

index0

Type: System.Int32

The index of the first element to swap.
index1

Type: System.Int32

The index of the second element to swap.

See Also

Reference