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


IMapServerData Interface (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

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.

Members

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

CoClasses that implement IMapServerData

CoClasses and 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.