Moves the MapItem to be a ChildItem of the specified IMapItemParent, at the specified index.

Namespace:  ESRI.ArcGISExplorer.Mapping

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

Syntax

C#
public void MoveTo(
	IMapItemParent newParent,
	int index
)
Visual Basic (Declaration)
Public Sub MoveTo ( _
	newParent As IMapItemParent, _
	index As Integer _
)

Parameters

newParent
Type: ESRI.ArcGISExplorer.Mapping..::.IMapItemParent

The destination where the MapItem will be moved.
index
Type: System..::.Int32

The index at which the MapItem will be stored in the destination IMapItemParent.ChildItems collection.

Remarks

The index of the MapItem in the parent ChildItems collection dictates the order in which items are presented in the ArcGIS Explorer contents window; the MapItem at index 0 will display at the top of the list.

See Also