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


ITinEdit.StartEditing Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

ITinEdit.StartEditing Method

Initiates edit mode.

[Visual Basic .NET]
Public Function StartEditing ( _
) As Boolean
[C#]
public bool StartEditing (
);
[C++]
HRESULT StartEditing(
  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

StartEditing places the TIN in edit mode. It must be called before any edits can take place. The exception is after using ITinEdit.InitNew which automatically places the TIN in edit mode.

A False value is returned if StartEditing is not successful at opening the TIN for write access. The likely cause for failure would be file permissions.

See also ITinFeatureEdit.StartInMemoryEditing

See Also

ITinEdit Interface