This document is archived and information here might be outdated. Recommended version. |
Deletes all relationships that apply to a specified object.
[Visual Basic .NET] Public Sub DeleteRelationshipsForObject ( _ ByVal anObject As IObject _ )
[C#] public void DeleteRelationshipsForObject ( IObject anObject );
[C++]
HRESULT DeleteRelationshipsForObject(
IObject* anObject
);
[C++] Parameters anObject [in]
anObject is a parameter of type IObject*
The DeleteRelationshipsForObject method is used for removing all of the relationships in the relationship class that the specified object belongs to. Note that this method is bi-directional; the specified object could belong to the origin class or destination class.
This method should be called within an edit session.