|  | This document is archived and information here might be outdated. Recommended version. | 
Provides access to members that get related object row pairs within a query filter specification.
| Name | Description | |
|---|---|---|
|  | AddRelationshipRule | Adds a relationship rule to this relationship class. | 
|  | BackwardPathLabel | The backward path label for the relationship class. | 
|  | Cardinality | The cardinality for the relationship class. | 
|  | CreateRelationship | Creates a new relationship between the two specified objects. | 
|  | DeleteRelationship | Deletes the relationship that associates the two specified objects. | 
|  | DeleteRelationshipRule | Deletes a relationship rule from this relationship class. | 
|  | DeleteRelationshipsForObject | Deletes all relationships that apply to a specified object. | 
|  | DeleteRelationshipsForObjectSet | Deletes all relationships that apply to the specified origin or destination object set. | 
|  | DestinationClass | The destination object class. | 
|  | DestinationForeignKey | The relationship destination foreign Key. | 
|  | DestinationPrimaryKey | The relationship destination primary Key. | 
|  | FeatureDataset | The feature dataset, if any, to which this relationship class belongs. | 
|  | ForwardPathLabel | The forward path label for the relationship class. | 
|  | GetObjectsMatchingObjectArray | Gets rows pairs of objects that are related to the specified origin or destination object array, that also meet the query filter expression. | 
|  | GetObjectsMatchingObjectSet | Gets rows pairs of objects that are related to the specified origin or destination object set. | 
|  | GetObjectsMatchingObjectSetEx | Gets rows pairs of objects that are related to the specified origin or destination object set, that also meet the query filter expression. | 
|  | GetObjectsRelatedToObject | Gets the objects that are related to the specified object. | 
|  | GetObjectsRelatedToObjectSet | Gets the objects that are related to the specified origin or destination object set. | 
|  | GetRelationship | Get the relationship that associates the two specified objects. | 
|  | GetRelationshipsForObject | Get all relationships that apply to a specified object. | 
|  | GetRelationshipsForObjectSet | Get all relationships that apply to the specified origin or destination object set. | 
|  | IsAttributed | Indicates if the relationships in this relationship class have attributes. | 
|  | IsComposite | Indicates if the relationship class represents a composite relationship in which the origin object class represents the composite object. | 
|  | Notification | The notification direction for the relationship class. | 
|  | OriginClass | The origin object class. | 
|  | OriginForeignKey | The relationship origin foreign Key. | 
|  | OriginPrimaryKey | The relationship origin primary Key. | 
|  | RelationshipClassID | The relationship class ID. | 
|  | RelationshipRules | The relationship rules that apply to this relationship class. | 
| Interfaces | Description | 
|---|---|
| IRelationshipClass | Provides access to members that return information about the relationship class, create relationships, relationship rules and get related objects. | 
| Classes | Description | 
|---|---|
| AttributedRelationshipClass | Esri Attributed Relationship Class object. | 
| MemoryRelationshipClass | A relationship class object that is stored in memory. | 
| RelationshipClass | Esri Relationship Class object. | 
The IRelationshipClass2 interface extends the IRelationshipClass interface, providing methods to retrieve related object pairs from the relationship class where the matched object satisfies the conditions of a query filter.
IRelationshipClass Interface | ISet Interface | Relationship Class | RelationshipClass Class | esriRelRole Constants | IRelationshipClassEvents Interface