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


IDisplayRelationshipClass.DisplayRelationshipClass Method (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 > IDisplayRelationshipClass.DisplayRelationshipClass Method
ArcGIS Developer Help

IDisplayRelationshipClass.DisplayRelationshipClass Method

Sets a join based on the specified relationship class and join type.

[Visual Basic .NET]
Public Sub DisplayRelationshipClass ( _
    ByVal relClass As IRelationshipClass, _
    ByVal JoinType As esriJoinType _
)
[C#]
public void DisplayRelationshipClass (
    IRelationshipClass relClass,
    esriJoinType JoinType
);
[C++]
HRESULT DisplayRelationshipClass(
  IRelationshipClass* relClass,
  esriJoinType JoinType
);
[C++]
Parameters
relClass [in]

relClass is a parameter of type IRelationshipClass* JoinType [in]
JoinType is a parameter of type esriJoinType

Product Availability

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

Description

RelClass can be either a file or memory based relationship class, but must be defined on the base feature class.

Remarks

This method internally initializes a RelQueryTable to perform a join. relClass can be can be either a predefined relationship class in a geodatabase or an in memory relationship class. For more information on relationship clases, see IRelationshipClass

See Also

IDisplayRelationshipClass Interface