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