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) |