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


IWMSGroupLayer.MoveLayer Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IWMSGroupLayer.MoveLayer Method

Moves the given layer to the given position within the group layer.

[Visual Basic .NET]
Public Sub MoveLayer ( _
    ByVal WMSLayer As ILayer, _
    ByVal toPosition As Integer _
)
[C#]
public void MoveLayer (
    ILayer WMSLayer,
    int toPosition
);
[C++]
HRESULT MoveLayer(
  ILayer* WMSLayer,
  long toPosition
);
[C++]

Parameters WMSLayer [in]
WMSLayer is a parameter of type ILayer* toPosition [in]
toPosition is a parameter of type long

Product Availability

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

See Also

IWMSGroupLayer Interface