ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Mapping.Geocoding Namespace / LocatorManager Class / MoveLocatorAsync Method
the locator to reorder.
the new index of the locator.

In This Topic
    MoveLocatorAsync Method
    In This Topic
    Reorders the position of a locator. Moves it up or down the provider list.
    Syntax
    public Task MoveLocatorAsync( 
       string providerName,
       int index
    )
    Public Function MoveLocatorAsync( _
       ByVal providerName As String, _
       ByVal index As Integer _
    ) As Task

    Parameters

    providerName
    the locator to reorder.
    index
    the new index of the locator.
    Exceptions
    ExceptionDescription
    The index is invalid.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also