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


WMSLayer Class (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

WMSLayer Class

A container for the display of WMS sub layers.

WMSLayer is a non-creatable object. References to non-creatable objects must be obtained through other objects.

Product Availability

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

Interfaces

Interfaces Description
IIdentify Provides access to members that identify features.
ILayer Provides access to members that work with all layers.
ILayerGeneralProperties Provides access to layer general properties.
ILayerSymbologyExtents Provides access to layer extents based on the symbology.
IPersistStream (esriSystem)
IPublishLayer Provides access to a layer's capability for being published with the ArcGIS Publisher extension.
IWMSLayer Provides access to members that control the WMS sub layer.
IWMSLayer2 Provides access to members that control the WMS sub layer.

Event Interfaces

Interfaces Description
ILayerEvents (default) Provides access to events that occur when layer visibility changes.

Working with Events

[Visual Basic 6.0]

When working with WMSLayer's default outbound interface in Visual Basic 6 declare variables as follows:

Private WithEvents pWMSLayer as WMSLayer