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


INAContextEdit.StopEditing Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INAContextEdit.StopEditing Method

Stops an edit session.

[Visual Basic .NET]
Public Sub StopEditing ( _
    ByVal saveEdits As Boolean _
)
[C#]
public void StopEditing (
    bool saveEdits
);
[C++]
HRESULT StopEditing(
  VARIANT_BOOL saveEdits
);
[C++]

Parameters saveEdits [in] saveEdits is a parameter of type VARIANT_BOOL

Product Availability

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

Remarks

StopEditing stops the edit session on the NAContext's NAClasses. The saveEdits parameter controls if edits are saved or discarded.

See Also

INAContextEdit Interface