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


IFeatureLayer.Selectable Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IFeatureLayer.Selectable Property

Indicates if layer is selectable.

[Visual Basic .NET]
Public Property Selectable As Boolean
[C#]
public bool Selectable {get; set;}
[C++]
HRESULT get_Selectable(
  VARIANT_BOOL* Value
);
[C++]
HRESULT put_Selectable(
  VARIANT_BOOL Value
);
[C++]

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

Product Availability

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

Description

Indicates whether the layer's features are selectable.

Remarks

The default value for Selectable is False.

See Also

IFeatureLayer Interface

.NET Samples

Editing using a custom form (Code Files: EditorForm) | Executing geoprocessing tools in the background (Code Files: RunGPForm) | Custom selection extension (Code Files: SelectionExtension) | Create a custom selection extension by extending ArcObjects (Code Files: SelectionExtension SelectionTargetComboBox)

.NET Related Topics

Add-in coding patterns