ArcGIS Pro 2.6 API Reference Guide
MoveLocatorAsync Method

ArcGIS.Desktop.Mapping.Geocoding Namespace > LocatorManager Class : MoveLocatorAsync Method
the locator to reorder.
the new index of the locator.
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 10, Windows 8.1, Windows 7

See Also

Reference

LocatorManager Class
LocatorManager Members