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

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

IRelatedRecordSet Interface

Provides access to the RelatedRecordSet members.

Product Availability

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


Name Description
Read-only property RelatedRecordFields Fields of the values in the RelatedRecordGroups.
Read-only property RelatedRecordGroups Groups of records that are related to each row id.

Classes that implement IRelatedRecordSet

Classes Description
RelatedRecordSet A colcass that contains related record groups and the fields of those related records.


When esriRelateResultRelatedRecordSetAsObject is selected as ResultFormat for QueryRelatedRecords function, it returns RelatedRecordSet embedded within a QueryResult. Use IQueryResult.Object to get RelatedRecordSet.

RelatedRecordFeilds is a list of all fields that are visible in the source map document or listed in IRelateDescription::RelatedTableFields property.

RelatedRecordGroups returns an array of IRelatedRecordGroup. Each RelatedRecordGroup contains related records for one source record/feature.