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


NAEditOperation CoClass (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (NetworkAnalystUI)  

NAEditOperation CoClass

The network analysis edit operation.

Product Availability

Available with ArcGIS Desktop. Requires Network Analyst Extension.

Interfaces

Interfaces Description
IEditOperation (esriCarto) Indicator interface that identifies an operation as an edit operation.
INAEditOperation Provides access to network analysis edit operations.
IOperation (esriSystemUI) Provides access to members that control Operations.

Remarks

The NAEditOperation is used within ArcMap to perform edits within an ArcMap undo/redo operation.  It is used in conjunction with performing an edit operation on the NAContext using the methods on the INAContextEdit interface to keep the ArcMap undo/redo stack in sync with the undo/redo stack of the NAContext.

The NAEditOperation object is used internally by the NAWindow to perform edits on NAClasses inside an ArcMap undo/redo operation. 

Calling StartOperation, StopOperation, and AbortOperation on the INAWindow interface is the prefered mechanism to perform edits on NAClasses inside an ArcMap undo/redo operation.