ArcObjects Library Reference (GeoDatabase)  

RelationshipClass Class

Esri Relationship Class object.

RelationshipClass is a non-creatable object. References to non-creatable objects must be obtained through other objects.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Interfaces

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.

Remarks

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