ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MappingExtensions Class / ClearSketchAsync Method
The map view.
Version

ClearSketchAsync Method (MappingExtensions)
Clears the current sketch in the view.
Syntax
public static Task ClearSketchAsync( 
   MapView mapView
)

Parameters

mapView
The map view.

Return Value

A Task representing a clear sketch operation.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also