ArcGIS Explorer Component Help |
PackageChildLayer..::.GetMapItems<(Of <(T>)>) Method |
PackageChildLayer Class See Also |
Gets all items in the PackageChildLayer of a specified MapItem type; only PackageChildLayers may be descendants of PackageChildLayer.
Namespace:
ESRI.ArcGISExplorer.MappingAssembly: ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)
Syntax
C# |
---|
public ReadOnlyCollection<T> GetMapItems<T>() where T : MapItem |
Visual Basic (Declaration) |
---|
Public Function GetMapItems(Of T As MapItem) As ReadOnlyCollection(Of T) |
Type Parameters
- T
- A derived MapItem type; only PackageChildLayers may be descendants of PackageChildLayer.
Return Value
A read-only collection of items in the PackageChildLayer matching the specified MapItem type; only other PackageChildLayers may be descendants of PackageChildLayer. Returns an empty collection if no matching items are found.Remarks
Although the signature of this method indicates any MapItem type may be passed in, this is for consistency with the GetMapItems method on other types of MapItem; in the specific case of a PackageChildLayer, only other PackageChildLayers may be present as descendants.
Version Information: This method is supported from version 2.0.0.1500.