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

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

IEditor.AbortOperation Method

Aborts an edit operation.

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

Product Availability

Available with ArcGIS Desktop.


This should be used when you want to test if the results of your edit operation are valid before calling the StopOperation method. If the test you set up fails, you call AbortOperation instead of StopOperation. The changes made after StartOperation was called are undone, and nothing is added to the operation stack.

See Also

IEditor Interface