ArcGIS Pro 3.8 API Reference Guide
ArcGIS.Desktop.Mapping.DeviceLocation Namespace / MapDeviceLocationService Class / GetDeviceLocationOptions Method

In This Topic
    GetDeviceLocationOptions Method (MapDeviceLocationService)
    In This Topic
    Gets the MapDeviceLocationOptions currently used by the MapDeviceLocationService.
    Syntax
    public MapDeviceLocationOptions GetDeviceLocationOptions()
    Public Function GetDeviceLocationOptions() As MapDeviceLocationOptions

    Return Value

    Exceptions
    ExceptionDescription
    The active map view cannot be null
    Remarks
    There must be an active map view. If the active map view is null an System.InvalidOperationException will be thrown
    Requirements

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

    ArcGIS Pro version: 3.0 or higher.
    See Also