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


IGMxDocument.SelectedLayer Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (ArcGlobe)  

IGMxDocument.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

This property provides a handle to the currently selected layer in the table of contents. 

See Also

IGMxDocument Interface