Gets all items in the Map of a specified MapItem type.

Namespace:  ESRI.ArcGISExplorer.Mapping

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


public ReadOnlyCollection<T> GetMapItems<T>()
where T : MapItem
Visual Basic (Declaration)
Public Function GetMapItems(Of T As MapItem) As ReadOnlyCollection(Of T)

Type Parameters

A derived MapItem type.

Return Value

A read-only collection of MapItems in the Map matching the specified MapItem type. Returns an empty collection if no matching items are found in the Map.

See Also