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

IEditor.StopEditing Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > IE > IEditor Interface > IEditor.StopEditing Method
ArcGIS Developer Help

IEditor.StopEditing Method

Stops an edit session.

[Visual Basic .NET]
Public Sub StopEditing ( _
    ByVal saveChanges As Boolean _
public void StopEditing (
    bool saveChanges

Product Availability

Available with ArcGIS Desktop.

Errors Returned

The version has been redefined to reference a new database state.


Call this function to complete an edit session. The required Boolean parameter controls whether modifications made to features will be saved or discarded. To save your changes, use TRUE ; to discard them, use FALSE . StopEditing also clears all snap agents and unselects all selected features.

See Also

IEditor Interface