This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IW > IWMSGroupLayer Interface > IWMSGroupLayer.MoveLayer Method (ArcObjects .NET 10.4 SDK) |
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