Rearranges the Layer objects in the collection.

Namespace:  ESRI.ArcGISExplorer.Mapping

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

Syntax

C#
public void Move(
	Layer layer,
	int index
)
Visual Basic (Declaration)
Public Sub Move ( _
	layer As Layer, _
	index As Integer _
)

Parameters

layer
Type: ESRI.ArcGISExplorer.Mapping..::.Layer

The selected layer to move.
index
Type: System..::.Int32

The index value at which to place the selected layer.

Remarks

When a Layer object is added to the ChildItems collection of the map, the object is drawn on top of other layers in the map, at a draw index of 0.

See Also