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


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

IEditor.StopOperation Method

Stops an edit operation.

[Visual Basic .NET]
Public Sub StopOperation ( _
    ByVal menuText As String _
)
[C#]
public void StopOperation (
    string menuText
);

Product Availability

Available with ArcGIS Desktop.

Remarks

StartOperation and StopOperation mark the beginning and end of an edit operation. Edit operations provide undo/redo capabilites for any action or set of actions (additions, deletions, or modifications) taken on features.
Calling StopOperation creates an edit operation that is added to the top of the operation stack. The operation stack is how ArcMap implements Undo and Redo. When using StopOperation, proper handling of errors, including the use of AbortOperation, is neccessary.

All edits to features that participate in a Topology or Geometric Network must be bracketed within an edit operation.

See Also

IEditor Interface | IEditor.StartOperation Method

.NET Samples

Points along line construction tool ViperPin tool