ArcGIS Pro 2.8 API Reference Guide
GetSpatialReference Method (DeviceLocationSource)

ArcGIS.Desktop.Core.DeviceLocation Namespace > DeviceLocationSource 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 virtual SpatialReference GetSpatialReference()
Public Overridable Function GetSpatialReference() As SpatialReference
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

DeviceLocationSource Class
DeviceLocationSource Members