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

RelationshipClass Class (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Classes > R > RelationshipClass Class
ArcGIS Developer Help

RelationshipClassClass Class

Esri Relationship Class object.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux


Interfaces Description
IDataset Provides access to members that supply dataset information.
IRelationshipClass Provides access to members that return information about the relationship class, create relationships, relationship rules and get related objects.
IRelationshipClass2 Provides access to members that get related object row pairs within a query filter specification.
IRelClassSchemaEdit Provides access to members that modify a relationship class's properties.


You can create a relationship class with either IRelationshipClassContainer or IFeatureWorkspace. RelationshipClass objects implement IDataset (useful for getting the name or the workspace), but note that they do not implement IClass (unless they are attributed). This is because a non-attributed relationship class does not have any fields of its own.

See Also

IRelationshipClass Interface | IRelationshipClassContainer Interface