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

IEngineEditor.StartOperation Method (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IE > IEngineEditor Interface > IEngineEditor.StartOperation Method
ArcGIS Developer Help

IEngineEditor.StartOperation Method

Starts an edit operation.

[Visual Basic .NET]
Public Sub StartOperation ( _
public void StartOperation (
HRESULT StartOperation(

Product Availability

Available with ArcGIS Engine.


StartOperation marks the beginning of an edit operation. To provide undo/redo capability programmatically all edits must be performed within an edit operation. 

Calling IEngineEditor::StopOperation completes an edit operation which is then added to the top of the operation stack. The operation stack is how ArcGIS Engine implements Undo and Redo. When using StartOperation, proper error handling, including the use of IEgineEditor::AbortOperation, is neccessary.

Edit operations cannot be nested; calling StartOperation within another operation will raise an error.



This method fires the IEngineEditEvents::OnStartOperation event.

See Also

IEngineEditor Interface