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


ILayerListToolControl.SelectedLayer Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IL > ILayerListToolControl Interface > ILayerListToolControl.SelectedLayer Property
ArcGIS Developer Help

ILayerListToolControl.SelectedLayer Property

The Layer currently selected in the Tool Control. This may be NULL is no layer is selected.

[Visual Basic .NET]
Public ReadOnly Property SelectedLayer As ILayer
[C#]
public ILayer SelectedLayer {get;}
[C++]
HRESULT get_SelectedLayer(
  ILayer** ppSelectedLayer
);
[C++]
Parameters
ppSelectedLayer [out, retval]

ppSelectedLayer is a parameter of type ILayer**

Product Availability

Available with ArcGIS Engine.

See Also

ILayerListToolControl Interface