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


IEngineEditLayers.IsEditable Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Controls)  

IEngineEditLayers.IsEditable Method

Indicates if the specific feature layer is editable.

[Visual Basic .NET]
Public Function IsEditable ( _
    ByVal Layer As IFeatureLayer _
) As Boolean
[C#]
public bool IsEditable (
    IFeatureLayer Layer
);
[C++]
HRESULT IsEditable(
  IFeatureLayer* Layer,
  VARIANT_BOOL* pEditable
);
[C++]

Parameters Layer [in]
Layer is a parameter of type IFeatureLayer pEditable [out, retval] pEditable is a parameter of type VARIANT_BOOL

Product Availability

Available with ArcGIS Engine.

Description

Use the IsEditable method to check if a particular layer is editable. 

When an edit session is started this method is automatically called for each layer in the Map. Only editable layers are added to the ControlsEditingTargetToolControl.

See Also

IEngineEditLayers Interface