ArcGIS Pro 3.7 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 Overloads Shared Sub Unsubscribe( _
       ByVal func As Func(Of BeforeSketchCompletedEventArgs,Task) _
    ) 
    public static void Unsubscribe( 
       Func<BeforeSketchCompletedEventArgs,Task> func
    )

    Parameters

    func
    The delegate that was specified to a Subscribe.
    Requirements

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

    ArcGIS Pro version: 3.0 or higher.
    See Also