Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

MapItemCollection.Swap(Int32, Int32) Method

In This Article

Swaps items with indexes index1 and index2 inside the collection.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v24.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