ArcGIS Pro 3.1 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 sealed class DeviceLocationPropertiesUpdatedEvent : ArcGIS.Core.Events.CompositePresentationEvent<DeviceLocationPropertiesUpdatedEventArgs> 
    Public NotInheritable Class DeviceLocationPropertiesUpdatedEvent 
       Inherits ArcGIS.Core.Events.CompositePresentationEvent(Of DeviceLocationPropertiesUpdatedEventArgs)
    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
    }
    Inheritance Hierarchy

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

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also