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


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

IDisplayRelationshipClass Interface

Provides access to members that are used to set up joins.

Product Availability

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

Description

This interface is used to to manage joins on a layer.

Members

Name Description
Method DisplayRelationshipClass Sets a join based on the specified relationship class and join type.
Read-only property JoinType Join type for the most recent join performed.
Read-only property RelationshipClass Relationship class that defines how the tables are joined.

Classes that implement IDisplayRelationshipClass

Classes Description
CadAnnotationLayer An Esri Cad annotation layer.
CadastralFabricSubLayer Cadastral Fabric Feature Layer Object.
CadFeatureLayer Esri CAD Feature Layer class.
CoverageAnnotationLayer An Esri coverage annotation layer.
DimensionLayer A collection of properties for a dimension layer.
FDOGraphicsLayer A collection of properties for an annotation layer (feature data object graphics layer).
FeatureLayer A collection of features and their visual representation.
GdbRasterCatalogLayer Geodabase RasterCatalog source and display options.
RasterLayer Raster layer source and display options.
StandaloneTable A standalone table.

Remarks

ArcMap provides two ways to associate data stored in tables with the features in the layer: joins and relates.

When you join a table to the layer’s attribute table, you append the fields from the table to the layer’s table. Joins can be used for one-to one or many-to-one relationships between a layer and a table.

Relating the layer’s table with another table defines a relationship between the two tables, but it doesn’t append the fields of the table to the layer’s table. Relates can be used for one-to-many or many-to-many relationships between a layer and a table.

Use IDisplayRelationshipClass to set up and manage joins between a layer and other tables. Use IRelationshipClassCollection and IRelationshipClassCollectionEdit to manage relates.