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

Create a custom selection extension by extending ArcObjects (Code Files: SelectionExtension SelectionTargetComboBox) | Custom selection extension (Code Files: SelectionExtension) | Editing using a custom form (Code Files: EditorForm) | Executing geoprocessing tools in the background (Code Files: RunGPForm) | Using the traversal result to select source features (Code Files: SelectFeaturesTool) |

.NET Related Topics

Add-in coding patterns |