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


IRelationshipClass.GetObjectsRelatedToObject Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

IRelationshipClass.GetObjectsRelatedToObject Method

Gets the objects that are related to the specified object.

[Visual Basic .NET]
Public Function GetObjectsRelatedToObject ( _
    ByVal anObject As IObject _
) As ISet
[C#]
public ISet GetObjectsRelatedToObject (
    IObject anObject
);
[C++]
HRESULT GetObjectsRelatedToObject(
  IObject* anObject
);
[C++]

Parameters anObject [in]
anObject is a parameter of type IObject*

Product Availability

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

Remarks

The GetObjectsRelatedToObject method returns a set of Objects (or subtypes of Object, such as features) that are related to the anObject object.

See Also

IRelationshipClass Interface