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