ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Mapping.Events Namespace / MapRemovingEvent Class / Unsubscribe Method / Unsubscribe(Func<MapRemovingEventArgs,Task>) Method
The delegate used when subscribing to the event.

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

    Parameters

    action
    The delegate used when subscribing to the event.
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also