This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IR > IRelationshipClassCollection Interface > IRelationshipClassCollection.FindRelationshipClasses Method (ArcObjects .NET 10.4 SDK) |
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