Represents a logical container for MapItems.

Namespace:  ESRI.ArcGISExplorer.Mapping

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

Syntax

C#
public sealed class Folder : MapItem, 
	IMapItemParent
Visual Basic (Declaration)
Public NotInheritable Class Folder _
	Inherits MapItem _
	Implements IMapItemParent

Remarks

The Folder class is used to organize MapItems into logical groups, which becomes increasingly important when you are trying to present a lot of information in a Map. The Folder.ChildItems property is a MapItemCollection, just like Map.ChildItems, and similarly you can use the Add and Remove methods on MapItemCollection to control the content of the Folder.

The table below gives a brief description of each MapItem type that can be added to Folder.ChildItems:

MapItem TypeDescription
NoteA single graphic associated with a popup window.
LinkA link to a URL, file or external application.
ViewA stored location in 2D or 3D associated with a popup window.
ImageOverlayAn image which is positioned in relation to the map window.
FolderA container used to organize map content into logical groups.
LayersA subset of MapItems that reference geographic data.

There are several MapItem types that cannot be added to a Folder independently:

MapItem TypeDescription
BasemapBasemaps can only be stored in the Basemap property of a Map.
KmlNodeA KmlNode is a constituent part of a KmlLayer.
PackageChildLayerA PackageChildLayer is a constituent part of a PackageLayer.
ServiceChildLayerA ServiceChildLayer is a constituent part of a ServiceLayer.

Inheritance Hierarchy

System..::.Object

  ESRI.ArcGISExplorer.Mapping..::.MapItem

    ESRI.ArcGISExplorer.Mapping..::.Folder

See Also