ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Core.DeviceLocation.Events Namespace / DeviceLocationPropertiesUpdatedEvent Class
Members Example

In This Topic
    DeviceLocationPropertiesUpdatedEvent Class
    In This Topic
    Occurs when the device location source is updated with a new location source and/or parameters
    Object Model
    DeviceLocationPropertiesUpdatedEvent ClassSubscriptionToken ClassSubscriptionToken Class
    Syntax
    Public NotInheritable Class DeviceLocationPropertiesUpdatedEvent 
       Inherits ArcGIS.Core.Events.CompositePresentationEvent(Of DeviceLocationPropertiesUpdatedEventArgs)
    public sealed class DeviceLocationPropertiesUpdatedEvent : ArcGIS.Core.Events.CompositePresentationEvent<DeviceLocationPropertiesUpdatedEventArgs> 
    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
        }
    }
    Inheritance Hierarchy

    System.Object
       ArcGIS.Core.Events.EventBase
          ArcGIS.Core.Events.CompositePresentationEvent<TPayload>
             ArcGIS.Desktop.Core.DeviceLocation.Events.DeviceLocationPropertiesUpdatedEvent

    Requirements

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

    ArcGIS Pro version: 3.0 or higher.
    See Also