ArcGIS Pro 2.7 API Reference Guide
GetDeviceLocationOptions Method (MapDeviceLocationService)

ArcGIS.Desktop.Mapping.DeviceLocation Namespace > MapDeviceLocationService Class : GetDeviceLocationOptions Method
Returns the MapDeviceLocationOptions currently being 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 10, Windows 8.1

See Also

Reference

MapDeviceLocationService Class
MapDeviceLocationService Members