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


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

IWMSGroupLayer.InsertLayers Method

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

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

WMSLayers is a parameter of type IEnumLayer* insertPosition [in]
insertPosition is a parameter of type long

Product Availability

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

See Also

IWMSGroupLayer Interface