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


IWMSGroupLayer.MoveLayer Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IW > IWMSGroupLayer Interface > IWMSGroupLayer.MoveLayer Method
ArcGIS Developer Help

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