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


ITinEdit.IsEditable Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

ITinEdit.IsEditable Property

Indicates if the TIN can be edited.

[Visual Basic .NET]
Public ReadOnly Property IsEditable As Boolean
[C#]
public bool IsEditable {get;}
[C++]
HRESULT get_IsEditable(
  VARIANT_BOOL* pbIsEditable
);
[C++]

Parameters pbIsEditable [out, retval] pbIsEditable is a parameter of type VARIANT_BOOL

Product Availability

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

Description

This member indicates whether the TIN can be placed in edit mode. If it returns False it means the TIN is write protected and a call to ITinEdit.StartEditing will also return False because it will fail to place the TIN in edit mode.

Due to limitations with the Windows operating system and networks a TIN located across a network may appear to be writeable when it isn't. Because of this, IsEditable may incorrectly return True. If you attempt ITinEdit.StartEditing because of this it will detect the problem, as it tries to open the TIN for write access, and will return False.

See Also

ITinEdit Interface