ArcGIS API for Windows Phone - Library Reference
MoveLayer Method
See Also  Send comments on this topic
ESRI.ArcGIS.Client Namespace > Map Class : MoveLayer Method

oldIndex
The zero-based index specifying the location of the layer to be moved.
newIndex
The zero-based index specifying the new location of the layer.
Reorders a layer in the Layers collection.

Syntax

Visual Basic (Declaration) 
Public Sub MoveLayer( _
   ByVal oldIndex As Integer, _
   ByVal newIndex As Integer _
) 
C# 
public void MoveLayer( 
   int oldIndex,
   int newIndex
)

Parameters

oldIndex
The zero-based index specifying the location of the layer to be moved.
newIndex
The zero-based index specifying the new location of the layer.

Requirements

Target Platforms:Windows Phone 7

See Also

© ESRI, Inc. All Rights Reserved.