The relationship classes in which this object class participates in for the specified role.
[Visual Basic .NET] Public Function get_RelationshipClasses ( _ ByVal Role As esriRelRole _ ) As IEnumRelationshipClass
[C#] public IEnumRelationshipClass get_RelationshipClasses ( esriRelRole Role );
[C++] HRESULT get_RelationshipClasses( esriRelRole Role, IEnumRelationshipClass** RelationshipClasses );
Role is a parameter of type esriRelRoleRelationshipClasses [out, retval]
RelationshipClasses is a parameter of type IEnumRelationshipClass
Returns an enumeration of the relationship classes in which the object class participates.
Object classes in a geodatabase may participate in any number of relationships classes. The RelationshipClasses property allows you to get a list of those relationship classes that the object class participates in by what role it plays (origin, destination, or either) defined by the esriRelRole enumeration used when you call this property. This property returns a IEnumRelationshipClass interface which you can use to loop through those relationship classes that are returned.