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

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

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also