ArcObjects Library Reference (GeoDatabase)  

ITinFeatureEdit.StartInMemoryEditing Method

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

Product Availability

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

Description

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.

See Also

ITinFeatureEdit Interface