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