This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IE > IEngineEditLayers Interface > IEngineEditLayers.IsEditable Method (ArcObjects .NET 10.4 SDK) |
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
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.