ArcGIS Pro 2.8 API Reference Guide
GetSpatialReference Method (SerialPortDeviceLocationSource)

ArcGIS.Desktop.Core.DeviceLocation Namespace > SerialPortDeviceLocationSource Class : GetSpatialReference Method
Returns the spatial coordinate system the coordinates will be emitted from a local device such as GPS/GNSS. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public override SpatialReference GetSpatialReference()
Public Overrides Function GetSpatialReference() As SpatialReference

Return Value

Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

SerialPortDeviceLocationSource Class
SerialPortDeviceLocationSource Members