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