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


IEditor.StartOperation 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.StartOperation Method
ArcGIS Developer Help

IEditor.StartOperation Method

Starts an edit operation.

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

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 StartOperation, 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.

If you call StartOperation when an edit operation has already been started, you will get an error.

See Also

IEditor Interface | IEditor.StopOperation Method

.NET Samples

Points along line construction tool ViperPin tool