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


IEditor.AbortOperation Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Editor)  

IEditor.AbortOperation Method

Aborts an edit operation.

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

Product Availability

Available with ArcGIS Desktop.

Remarks

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

.NET Snippets

Flip Line Direction

.NET Samples

Curve conversion add-in (Code Files: CurveConversionDockWin)