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


ISxDocument.SelectedLayer Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > ArcScene > ESRI.ArcGIS.ArcScene > Interfaces > IS > ISxDocument Interface > ISxDocument.SelectedLayer Property
ArcGIS Developer Help

ISxDocument.SelectedLayer Property

The selected layer in the layer control.

[Visual Basic .NET]
Public ReadOnly Property SelectedLayer As ILayer
[C#]
public ILayer SelectedLayer {get;}

Product Availability

Available with ArcGIS Desktop. Requires 3D Analyst Extension.

Remarks

Returns the currently selected layer in the table of contents.

See Also

ISxDocument Interface