Click or drag to resize

ItemaddRelationship Method

Add specified item as a relationship item to the instance.

Namespace:  Aras.IOM
Assembly:  IOM (in IOM.dll) Version: 14.0.20.39432
Syntax
public void addRelationship(
	Item item
)

Parameters

item
Type: Aras.IOMItem
Items to be added to item's relationships.
Exceptions
ExceptionCondition
ExceptionThe instance doesn't represent a single item.
ArgumentExceptionThe argument is not a single item.
Remarks
No checking that passed item is a relationship of this is performed. The method just inserts passed item's node under 'Relationships' node inside this.node (if 'Relationships' node doesn't exist, it's created). After the method was called the item passed as argument to the method shares its dom with this (i.e. both items reference the same instance of ArasXmlDocument through their dom properties).
See Also