ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Mapping.Controls Namespace / LocatorActivateEvent Class / Unsubscribe Method / Unsubscribe(Action<LocatorActivateEventArgs>) Method
The delegate used when subscribing to the event.

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

    Parameters

    action
    The delegate used when subscribing to the event.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also