This document is archived and information here might be outdated. Recommended version. |
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
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.