Gets the immediate IMapItemParent for the MapItem.
Namespace:
ESRI.ArcGISExplorer.MappingAssembly: ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)
Syntax
C# |
---|
public IMapItemParent Parent { get; set; } |
Visual Basic (Declaration) |
---|
Public Property Parent As IMapItemParent |
Field Value
An IMapItemParent object that contains the MapItem; may be nullNothingnullptra null reference (Nothing in Visual Basic) if the MapItem has not been added to a map or folder.Remarks
All MapItems have a parent property. The parent represents the immediate container for the MapItem which is usually
a folder contained within the map, or the map itself. For some MapItems that are a constituent part of a layer, this property
will return the parent layer; for example a KmlNode will return its parent KmlLayer.