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


IWMSGroupLayer.Add Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IWMSGroupLayer.Add Method

Adds 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 Add ( _
    ByVal WMSLayer As ILayer _
)
[C#]
public void Add (
    ILayer WMSLayer
);
[C++]
HRESULT Add(
  ILayer* WMSLayer
);
[C++]

Parameters WMSLayer [in]
WMSLayer is a parameter of type ILayer

Product Availability

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

See Also

IWMSGroupLayer Interface