ArcObjects Library Reference (Carto)  

IRelationshipClassCollection.FindRelationshipClasses Method

Finds all relationship classes in the collection that reference the given object class in the specified role.

[Visual Basic .NET]
Public Function FindRelationshipClasses ( _
    ByVal objectClass As IObjectClass, _
    ByVal Role As esriRelRole _
) As IEnumRelationshipClass
[C#]
public IEnumRelationshipClass FindRelationshipClasses (
    IObjectClass objectClass,
    esriRelRole Role
);
[C++]
HRESULT FindRelationshipClasses(
  IObjectClass* objectClass,
  esriRelRole Role,
  IEnumRelationshipClass** RelationshipClasses
);
[C++]

Parameters

objectClass [in]

  objectClass is a parameter of type IObjectClass

Role [in]

  Role is a parameter of type esriRelRole

RelationshipClasses [out, retval]

  RelationshipClasses is a parameter of type IEnumRelationshipClass

Product Availability

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

See Also

IRelationshipClassCollection Interface