ArcGIS Explorer Component Help |
PackageChildLayer..::.ChildItems Property |
PackageChildLayer Class See Also |
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 PackageChildLayer.Implements
IMapItemParent..::.ChildItemsRemarks
A PackageLayer 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 package author when the package is published. Some of the child layers may contain further hierarchies of spatial data.
In the context of the PackageChildLayer class, the ChildItems property represents the child layers of a PackageChildLayer. This enables you to access the full hierarchy of child layers for a specified service. This property will only ever contain a collection of PackageChildLayer objects.
The returned MapItemCollection is read-only: you cannot remove PackageChildLayer objects from the collection, and it is not possible to add to the collection.