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


INAContextEdit.StopEditOperation Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INAContextEdit Interface > INAContextEdit.StopEditOperation Method
ArcGIS Developer Help

INAContextEdit.StopEditOperation Method

Stops an edit operation.

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Network Analyst Extension.

Remarks

StopEditOperation stops the edit operation on the NAContext's NAClasses.

Applications are responsible for calling StopEditOperation to mark the end of a successfully completed edit operation. Completed edit operations can be thought of as being pushed onto an undo stack. 

When using StopEditOperation, proper handling of errors, including the use of AbortEditOperation, is neccessary.

See Also

INAContextEdit Interface