Removes the passed item's node from the 'Relationships' node of the item.

Namespace:  Aras.IOM
Assembly:  IOM (in IOM.dll) Version: 11.0.0.6296

Syntax

C#
public void removeRelationship(
	Item item
)
Visual Basic (Declaration)
Public Sub removeRelationship ( _
	item As Item _
)
J#
public void removeRelationship(
	Item item
)
JScript
public function removeRelationship(
	item : Item
)

Parameters

item
Type: Aras.IOM..::.Item
The relationship item to be removed.

Remarks

Method doesn't sent a request to the server, it just edits item's DOM in memory. Passed item must share its dom with this item, i.e. both items dom must reference the same instance of ArasXmlDocument.

Exceptions

ExceptionCondition
System..::.ExceptionThe instance doesn't represent a single item.
System..::.ArgumentException
  • Passed item doesn't represent a single item.
  • Passed item doesn't share its dom with this item.
  • Passed item is not a relationship.
  • 'Relationship' node of this is read-only.

See Also