This document is archived and information here might be outdated.  Recommended version.

IEditTask.OnDeleteSketch Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > IE > IEditTask Interface > IEditTask.OnDeleteSketch Method
ArcGIS Developer Help

IEditTask.OnDeleteSketch Method

Notifies the task that the edit sketch has been deleted.

[Visual Basic .NET]
Public Sub OnDeleteSketch ( _
public void OnDeleteSketch (

Product Availability

Available with ArcGIS Desktop.


OnDeleteSketch gives an edit task an opportunity to clean up any steps that were already completed.  For example, if you had added any SketchOperation to the operation stack you may want to remove them.

See Also

IEditTask Interface | IEditTask Interface | IEditSketch Interface | IExtension Interface