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

IMapServerData Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapServerData Interface
ArcGIS Developer Help

IMapServerData Interface

Provides access to map features and their values.

Product Availability

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

When To Use

Use IMapServerData to retrieve a specified feature or the field value for a specified feature.

This interface is not supported by optimized MapServer.


Name Description
Method GetFeature Returns a feature, given the feature ID and layer.
Method GetFeatureValue Returns the value of a given feature as a string.

Classes that implement IMapServerData

Classes Description
MapServer The MapServer component provides programmatic access to the contents of a map document on disk, and creates images of the map contents based on user requests. Designed for use in building map-based web services and web applications.