Skip to main content

MapItemCollection.Swap(Int32, Int32) Method

Swaps items with indexes index1 and index2 inside the collection.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v23.2.dll

NuGet Package: DevExpress.Win.Map

Declaration

public void Swap(
    int index1,
    int index2
)

Parameters

Name Type Description
index1 Int32

An integer value that specifies index of the first swapping element.

index2 Int32

An integer value that specifies index of the second swapping element.

See Also