This document is archived and information here might be outdated.  Recommended version.


IRelationshipClassCollection.FindRelationshipClasses Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IR > IRelationshipClassCollection Interface > IRelationshipClassCollection.FindRelationshipClasses Method
ArcGIS Developer Help

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
);
[C++]
Parameters
objectClass [in]

objectClass is a parameter of type IObjectClass* Role [in]
Role is a parameter of type esriRelRole

Product Availability

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

See Also

IRelationshipClassCollection Interface