This document is archived and information here might be outdated. Recommended version. |
Get all relationships that apply to a specified object.
[Visual Basic .NET] Public Function GetRelationshipsForObject ( _ ByVal anObject As IObject _ ) As IEnumRelationship
[C#] public IEnumRelationship GetRelationshipsForObject ( IObject anObject );
[C++]
HRESULT GetRelationshipsForObject(
IObject* anObject
);
[C++] Parameters anObject [in]
anObject is a parameter of type IObject*
The GetRelationshipsForObject method returns an IEnumRelationship enumerator containing the relationships that the anObject parameter participates in.