Gets the child layers of the ServiceLayer.

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 service.

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.

In the context of the ServiceLayer class, the ChildItems property represents the child layers of the service; and a child layer of a service is represented by the ServiceChildLayer class. As such 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