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


IWMSGroupLayer Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IWMSGroupLayer Interface

Provides access to members that control the WMS group layer.

Product Availability

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

Members

Description
Method Add Adds the given WMS Layer at the given position. Only layer created by this WMS group layer or its parent layers are valid.
Method Clear Deletes all the sub layers.
Read-only property Count Number of sub layers.
Method CreateWMSGroupLayer Creates an empty WMSGroupLayer with the given name.
Method CreateWMSGroupLayers Creates a new WMSGroupLayer for the given WMSLayerDescription recursively including all the sub layers.
Method CreateWMSLayer Creates a new WMSLayer for the given WMSLayerDescription.
Method Delete Deletes the given layer if it exists.
Read/write property Expanded Indicates if the layer is expanded or collapsed.
Method InsertLayer Inserts the given WMS Layer at the given position. Only layer created by this WMS group layer or its parent layers are valid.
Method InsertLayers Inserts the given WMS Layers at the given position. Only layers created by this WMS group layer or its parent layers are valid.
Read-only property Layer Sub layer at the given index.
Method MoveLayer Moves the given layer to the given position within the group layer.
Read-only property WMSServiceDescription Associated WMSServiceDescription.

CoClasses that implement IWMSGroupLayer

CoClasses and Classes Description
WMSGroupLayer A container for the display of WMS group layers.
WMSMapLayer A container for the display and manipulation of WMS layers.

Remarks

Manages the contents of a WMSMapLayer or a WMSGroupLayer.