ItemaddRelationship Method |
Add specified item as a relationship item to the instance.
Namespace:
Aras.IOM
Assembly:
IOM (in IOM.dll) Version: 14.0.9.36244
Syntaxpublic void addRelationship(
Item item
)
Public Sub addRelationship (
item As Item
)
public void addRelationship(
Item item
)
public function addRelationship(
item : Item
)
Parameters
- item
- Type: Aras.IOMItem
Items to be added to item's relationships.
ExceptionsException | Condition |
---|
Exception | The instance doesn't represent a single item. |
ArgumentException | The 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