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


SketchOperation CoClass (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Editor)  

SketchOperation CoClass

Provides undo/redo capabilities for edit sketch modifications.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Interfaces

Interfaces Description
IOperation (esriSystemUI) Provides access to members that control Operations.
ISketchOperation Provides access to members that control undo/redo capabilities for edit sketch modifications.
ISketchOperation2 Provides access to members that control undo/redo capabilities for edit sketch modifications.

Remarks

Create a Sketch operation whenever you need to provide undo/redo capabilities for modifications made to the edit sketch. For example, custom code that deletes one of the vertices in the edit sketch should use a Sketch operation so the user can undo the edit. Both IEditSketch::AddPoint and ISketchTool::AddPoint automatically create a Sketch operation.