|  | This document is archived and information here might be outdated. Recommended version. | 
| ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapLayerInfo2 Interface > IMapLayerInfo2.CanSelect Property (ArcObjects .NET 10.4 SDK) | 
Indicates if the layer supports feature selection.
[Visual Basic .NET] Public ReadOnly Property CanSelect As Boolean
[C#] public bool CanSelect {get;}
[C++]
HRESULT get_CanSelect(
  VARIANT_BOOL* CanSelect
);
[C++]
Parameters CanSelect [out, retval] CanSelect is a parameter of type VARIANT_BOOL