ArcObjects Library Reference (ArcGlobe)  

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