This document is archived and information here might be outdated.  Recommended version.


IIMSMapLayer.MoveSubLayerTo Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > II > IIMSMapLayer Interface > IIMSMapLayer.MoveSubLayerTo Method
ArcGIS Developer Help

IIMSMapLayer.MoveSubLayerTo Method

Change the sublayer order.

[Visual Basic .NET]
Public Sub MoveSubLayerTo ( _
    ByVal subLayer As IIMSSubLayer, _
    ByVal Index As Integer _
)
[C#]
public void MoveSubLayerTo (
    IIMSSubLayer subLayer,
    int Index
);
[C++]
HRESULT MoveSubLayerTo(
  IIMSSubLayer* subLayer,
  long Index
);
[C++]
Parameters
subLayer [in]

subLayer is a parameter of type IIMSSubLayer* Index [in]
Index is a parameter of type long

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IIMSMapLayer Interface