This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITinFeatureEdit Interface > ITinFeatureEdit.StartInMemoryEditing Method (ArcObjects .NET 10.5 SDK) |
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(
VARIANT_BOOL* pbIsSuccessful
);
[C++]
Parameters pbIsSuccessful [out, retval] pbIsSuccessful is a parameter of type VARIANT_BOOL
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.