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


ILayerListToolControl.SelectedLayer Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Controls)  

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