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


ITinEdit.StopEditing Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITinEdit Interface > ITinEdit.StopEditing Method
ArcGIS Developer Help

ITinEdit.StopEditing Method

Terminates edit mode, optionally saving changes to disk.

[Visual Basic .NET]
Public Function StopEditing ( _
    ByVal bSaveEdits As Boolean _
) As Boolean
[C#]
public bool StopEditing (
    bool bSaveEdits
);
[C++]
HRESULT StopEditing(
  VARIANT_BOOL bSaveEdits
);
[C++]
Parameters
bSaveEdits [in]

bSaveEdits is a parameter of type bool

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

StopEditing is used to take the TIN out of edit mode. The SaveEdits argument indicates whether edits should be committed to disk.

If SaveEdits is False the TIN will be returned to the state previous to this edit session. All edits will be undone.

If SaveEdits is True edits from this session will be committed to disk. The TIN must already exist on disk before using this option though. If the TIN is new and has yet to be saved to disk use ITinEdit.SaveAs first, then call StopEditing.

See Also

ITinEdit Interface