ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Core.DeviceLocation.Events Namespace / DeviceLocationPropertiesUpdatedEventArgs Class / DeviceLocationProperties Property
Example

In This Topic
    DeviceLocationProperties Property
    In This Topic
    Gets the new device location properties.
    Syntax
    public DeviceLocationProperties DeviceLocationProperties {get;}
    Public ReadOnly Property DeviceLocationProperties As DeviceLocationProperties
    Example
    Subscribe to DeviceLocationPropertiesUpdated event
    private void SubscribeToPropertiesEvents()
    {
      DeviceLocationPropertiesUpdatedEvent.Subscribe(OnDeviceLocationPropertiesUpdated);
    }
    private void OnDeviceLocationPropertiesUpdated(DeviceLocationPropertiesUpdatedEventArgs args)
    {
      if (args == null)
        return;
    
      var properties = args.DeviceLocationProperties;
    
      //  TODO - something with the updated properties
    }
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also