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


MapServerRESTLayer CoClass (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

MapServerRESTLayer CoClass

Provides programmatic access to a a layer based on MapServer using REST access.

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.
IConnectionPointContainer Supports connection points for connectable objects.
IDataLayer Provides access to members that control the data source properties of a layer.
IDataLayer2 Provides access to additional members that control the data source properties of a layer.
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.
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.
ILayerSymbologyExtents Provides access to layer extents based on the symbology.
IMapServerRESTLayer Provides access to the available properties of a map server rest layer object.
IPersistStream (esriSystem)
IPublishLayer Provides access to a layer's capability for being published with the ArcGIS Publisher extension.
IRasterResamplingControl (esriDataSourcesRaster) Provides access to members that provides raster resampling control.
ISecureLayer Provides functionality to control access to a layer's contents.
ISecureLayer2 Provides access to control and test a layer's content related to authentication.
IServiceLayerImageFormat Provides access to members that control the image format set of service layers.
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 MapServerRESTLayer's default outbound interface in Visual Basic 6 declare variables as follows:

Private WithEvents pMapServerRESTLayer as MapServerRESTLayer