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


IRelatedRecordSet Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IR > IRelatedRecordSet Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IRelatedRecordSet Interface

Provides access to the RelatedRecordSet members.

Product Availability

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

Members

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.

CoClasses that implement IRelatedRecordSet

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

Remarks

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.