This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INAContextEdit Interface > INAContextEdit.StopEditOperation Method (ArcObjects .NET 10.4 SDK) |
Stops an edit operation.
[Visual Basic .NET]
Public Sub StopEditOperation ( _
)
[C#] public void StopEditOperation ( );
[C++]
HRESULT StopEditOperation(
void
);
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.