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


IWMSGroupLayer.InsertLayer 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.InsertLayer Method
ArcGIS Developer Help

IWMSGroupLayer.InsertLayer Method

Inserts the given WMS Layer at the given position. Only layer created by this WMS group layer or its parent layers are valid.

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

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

Product Availability

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

See Also

IWMSGroupLayer Interface