Gets the child layers of the ServiceChildLayer.

Namespace:  ESRI.ArcGISExplorer.Mapping

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

Syntax

C#
public MapItemCollection ChildItems { get; }
Visual Basic (Declaration)
Public ReadOnly Property ChildItems As MapItemCollection

Field Value

A MapItemCollection populated with the child layers of the ServiceChildLayer.

Implements

IMapItemParent..::.ChildItems

Remarks

A service is typically composed of several child layers. The child layers are conceptually similar to layers in ArcGIS Explorer- they reference spatial data. The child layers are specified by the service author when the service is published. Some of the child layers may contain further hierarchies of spatial data.

In the context of the ServiceChildLayer class, the ChildItems property represents the child layers of a ServiceChildLayer. This enables you to access the full hierarchy of child layers for a specified service. This property will only ever contain a collection of ServiceChildLayer objects.

The returned MapItemCollection is read-only: you cannot remove ServiceChildLayer objects from the collection, and it is not possible to add any derived MapItem object to the collection.

See Also