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


IEngineEditTask.OnDeleteSketch Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Controls)  

IEngineEditTask.OnDeleteSketch Method

Notifies the task that the edit sketch has been deleted.

[Visual Basic .NET]
Public Sub OnDeleteSketch ( _
)
[C#]
public void OnDeleteSketch (
);
[C++]
HRESULT OnDeleteSketch(
void
);

Product Availability

Available with ArcGIS Engine.

Description

OnDeleteSketch is fired when an edit sketch is deleted by the end user interactively calling the ControlsEditingSketchDeleteCommand or when the Delete key is pressed on the keyboard.

Use the OnDeleteSketch method to undo any steps completed during the edit sketch.

See Also

IEngineEditTask Interface