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


IGMxDocument.SelectedItem Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > ArcGlobe > ESRI.ArcGIS.ArcGlobe > Interfaces > IG > IGMxDocument Interface > IGMxDocument.SelectedItem Property
ArcGIS Developer Help

IGMxDocument.SelectedItem Property

The selected item in the layer control.

[Visual Basic .NET]
Public ReadOnly Property SelectedItem As Object
[C#]
public object SelectedItem {get;}

Product Availability

Available with ArcGIS Desktop. Requires 3D Analyst Extension.

Remarks

Use the SelectedITem property to obtain a reference to the selected item in the TOC. This property returns an IUnknown because an item in the TOC can be any number f things. For example, when working with the Display tab the reference can be one of the layers, if a layer is selected.

See Also

IGMxDocument Interface