ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Core.DeviceLocation.Events Namespace / DeviceLocationSourceChangedEvent Class / Unsubscribe Method / Unsubscribe(Action<DeviceLocationSourceChangedEventArgs>) Method
The delegate used when subscribing to the event.

In This Topic
    Unsubscribe(Action<DeviceLocationSourceChangedEventArgs>) Method
    In This Topic
    Removes the first subscriber matching the provided delegate from the subscribers' list.
    Syntax
    public static void Unsubscribe( 
       Action<DeviceLocationSourceChangedEventArgs> action
    )
    Public Overloads Shared Sub Unsubscribe( _
       ByVal action As Action(Of DeviceLocationSourceChangedEventArgs) _
    ) 

    Parameters

    action
    The delegate used when subscribing to the event.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also