com.esri.arcgis.carto
Interface IMapServerRow

All Superinterfaces:
Serializable
All Known Implementing Classes:
MapServerRow

public interface IMapServerRow
extends Serializable

Provides access to the Map Server Row Interface.

Remarks

A layer can be related to a table. The property RelatedRows on the IMapServerIdentifyResult interface returns a collection of MapServerRelationship objects. The IMapServerRelationship interface contains the name of the relate and the property Rows. This property returns a collection of MapServerRow objects. MapServerRow objects honor all field aliases, field visibility and field formatting set in the map document or the GeoDatabase. Using the IMapServerRow interface you can access properties (Name, PropertySet and RelatedRows) of the row of a related table.

When To Use

Use IMapServerRow to access row properties of a related table.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux


Method Summary
 String getName()
          The value of the primary display field.
 IPropertySet getPropertySet()
          A set of name-value pairs for the row's field names and values.
 IMapServerRelationships getRelatedRows()
          The related rows (relationships).
 

Method Detail

getName

String getName()
               throws IOException,
                      AutomationException
The value of the primary display field.

Remarks

Name refers to the a string value of the Primary Display Field of the related table or layer. Name from IMapServerRelationship refers to the name given to the relationship itself.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
The name
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPropertySet

IPropertySet getPropertySet()
                            throws IOException,
                                   AutomationException
A set of name-value pairs for the row's field names and values.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.system.IPropertySet
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRelatedRows

IMapServerRelationships getRelatedRows()
                                       throws IOException,
                                              AutomationException
The related rows (relationships).

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.carto.IMapServerRelationships
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.