Gets the first MapItem from the collection of selected items.

Namespace:  ESRI.ArcGISExplorer.Application

Assembly:  ESRI.ArcGISExplorer.Application (in ESRI.ArcGISExplorer.Application.dll) Version: 2.0.0.1500 (2.0.0.1500)

Syntax

C#
public MapItem GetFirst()
Visual Basic (Declaration)
Public Function GetFirst As MapItem

Return Value

A MapItem which is the first item selected in the Contents window.

Remarks

This method can be used as a shortcut to get the first selected item in the Contents window.

See Also