ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Layouts.Events Namespace / ElementEvent Class / Unsubscribe Method / Unsubscribe(Action<ElementEventArgs>) Method
The delegate used when subscribing to the event.

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

    Parameters

    action
    The delegate used when subscribing to the event.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also