ArcGIS Pro 2.7 API Reference Guide
ClearSketchAsync Method (MapTool)

ArcGIS.Desktop.Mapping Namespace > MapTool Class : ClearSketchAsync Method
Clears the current sketch in the active map view.
Syntax
protected Task ClearSketchAsync()
Protected Function ClearSketchAsync() As Task

Return Value

A Task representing a clear sketch operation.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

MapTool Class
MapTool Members