ArcGIS Pro 3.7 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 ReadOnly Property DeviceLocationProperties As DeviceLocationProperties
    public DeviceLocationProperties DeviceLocationProperties {get;}
    Example
    Subscribe to DeviceLocationPropertiesUpdated event
    {
        DeviceLocationPropertiesUpdatedEvent.Subscribe(OnDeviceLocationPropertiesUpdated);
        // Event handler for DeviceLocationPropertiesUpdated event.
        static void OnDeviceLocationPropertiesUpdated(DeviceLocationPropertiesUpdatedEventArgs args)
        {
            if (args == null)
                return;
    
            var properties = args.DeviceLocationProperties;
            //  TODO - something with the updated properties
        }
    }
    Requirements

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

    ArcGIS Pro version: 3.0 or higher.
    See Also