ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Mapping.Events Namespace / BeforeSketchCompletedEvent Class / Unsubscribe Method / Unsubscribe(Func<BeforeSketchCompletedEventArgs,Task>) Method
The delegate that was specified to a Subscribe.

In This Topic
    Unsubscribe(Func<BeforeSketchCompletedEventArgs,Task>) Method
    In This Topic
    Unsubscribe from the BeforeSketchCompletedEvent by specifying the same action that was given to Subscribe.
    Syntax
    public static void Unsubscribe( 
       Func<BeforeSketchCompletedEventArgs,Task> func
    )
    Public Overloads Shared Sub Unsubscribe( _
       ByVal func As Func(Of BeforeSketchCompletedEventArgs,Task) _
    ) 

    Parameters

    func
    The delegate that was specified to a Subscribe.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also