ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Core.Events Namespace / FavoritesChangedEvent Class / Unsubscribe Method / Unsubscribe(Action<EventArgs>) Method
The delegate that was specified to a Subscribe.

In This Topic
    Unsubscribe(Action<EventArgs>) Method
    In This Topic
    Unsubscribe from the FavoritesChangedEvent by specifying the same action that was given to Subscribe.
    Syntax
    public static void Unsubscribe( 
       Action<EventArgs> action
    )
    Public Overloads Shared Sub Unsubscribe( _
       ByVal action As Action(Of EventArgs) _
    ) 

    Parameters

    action
    The delegate that was specified to a Subscribe.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also