This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > PublisherControls > ESRI.ArcGIS.PublisherControls > Interfaces > IA > IARGlobeControl Interface > IARGlobeControl.SelectedARLayer Property (ArcObjects .NET 10.5 SDK) |
The selected ARLayer in the TOC.
[Visual Basic .NET] Public ReadOnly Property SelectedARLayer As ARLayer
[C#] public ARLayer SelectedARLayer {get;}
Returns the ARLayer that has been selected in the Table Of Contents (TOC). If no layer has been selected in the TOC, this method will return nothing. For example, this property could be used to restrict a spatial search to the extent of the selected layer in the TOC.