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


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

MapServerRESTSubLayer Class

Provides programmatic access to a MapServer SubLayer.

MapServerRESTSubLayer 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
ICompositeLayer Provides access to members that work with a collection of layers that behaves like a single layer.
ICompositeLayer2 Provides access to members that control whether a layer is expanded in the TOC.
IDisplayAdmin (esriDisplay) Provides access to members that control display administration.
IDisplayAdmin2 (esriDisplay) Provides access to members that control display administration.
IGeoDataset (esriGeoDatabase) Provides access to members that provide information about a Geographic Dataset.
ILayer Provides access to members that work with all layers.
ILayer2 Provides access to additional members that work with all layers.
ILayerDrawingProperties Provides access to members that control layer drawing properties.
ILayerEffects Provides access to members that control layer effects.
ILayerExtensions Provides access to the extensions of a layer.
ILayerGeneralProperties Provides access to layer general properties.
ILegendInfo Provides access to members that control legend information provided by a renderer.
IPersistStream (esriSystem)
ITimeData Provides access to time related properties of a layer.
ITimeData2 Provides access to time related properties of a layer.
ITimeDataDisplay Provides access to time animation related properties of a 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 MapServerRESTSubLayer's default outbound interface in Visual Basic 6 declare variables as follows:

Private WithEvents pMapServerRESTSubLayer as MapServerRESTSubLayer