ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Mapping.Geocoding Namespace / LocatorProvider Class / ActivateAsync Method

In This Topic
    ActivateAsync Method
    In This Topic
    Activates the locator provider; that is ensures that UseProvider is true if the locator is valid.
    Syntax
    public Task ActivateAsync()
    Public Function ActivateAsync() As Task
    Exceptions
    ExceptionDescription
    There is no active map view.
    The locator cannot be activated.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also