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


IARControl.SelectedARLayer Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > PublisherControls > ESRI.ArcGIS.PublisherControls > Interfaces > IA > IARControl Interface > IARControl.SelectedARLayer Property
ArcGIS Developer Help

IARControl.SelectedARLayer Property

The selected ARLayer in the TOC.

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

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

Description

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.

See Also

IARControl Interface