ArcObjects Library Reference (Editor)  

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