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


ITinEdit.StopEditing Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

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,
  VARIANT_BOOL* pbIsSuccessful
);
[C++]

Parameters bSaveEdits [in] bSaveEdits is a parameter of type VARIANT_BOOL pbIsSuccessful [out, retval] pbIsSuccessful is a parameter of type VARIANT_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