MapServerRow

A class that contains properties of a single row in a related table.

Property

Type

Description

FeatureID

int

The id of the feature.

FeatureIDSpecified

bool

Indicates if FeatureID is specified.

Name

string

The value of the primary display field.

Properties

PropertySet

The set of name-value pairs containing the row's field names and values.

Relationships

MapServerRelationship[]

If this row is related to another layer or table, this property references an array of relationships, each containing one or more rows of related data.

Remarks

The RelatedRows property on MapServerIdentifyResult returns a collection of MapServerRelationship objects, each containing the name of the relate and the property Rows. This property returns a collection of these objects. MapServerRow objects honor all field aliases, field visibility and field formatting set in the map document.

It is important to note that Name refers to the string value of the primary display field of the related table or layer, while the Name property of MapServerRelationship refers to the name given to the relationship itself.

11/8/2016