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


NAEditOperation Class (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalystUI > ESRI.ArcGIS.NetworkAnalystUI > Classes > N > NAEditOperation Class
ArcGIS Developer Help

NAEditOperationClass Class

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.

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.