This document is archived and information here might be outdated. Recommended version. |
Initiates memory edit mode. Use ITinEdit::SaveAs to persist. Don't use Save.
[Visual Basic .NET]
Public Function StartInMemoryEditing ( _
) As Boolean
[C#]
public bool StartInMemoryEditing (
);
[C++]
HRESULT StartInMemoryEditing(
void
);
In-memory editing allows you to edit a TIN, whether or not it's read-only, with the assurance that edits can't be saved back to the source dataset on disk.
In-memory editing is useful for two things. First, to edit read-only TINs that ITinEdit.StartEditing does not permit. Secondly, to make temporary edits for analysis that will be discarded when the analysis is complete.
While in memory edit mode ITinEdit.SaveAs can be used to save edits to a new dataset whereas ITinEdit.Save will fail. If ITinEdit.SaveAs is called the TIN is automatically switched over into regular edit mode.