ArcObjects Library Reference (Carto)  

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