Returns an item that is a collection of relationships item with specified type available on the instance.

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

Syntax

C#
public Item getRelationships(
	string itemTypeName
)
Visual Basic (Declaration)
Public Function getRelationships ( _
	itemTypeName As String _
) As Item
J#
public Item getRelationships(
	String itemTypeName
)
JScript
public function getRelationships(
	itemTypeName : String
) : Item

Parameters

itemTypeName
Type: System..::.String
Type of relationship.

Return Value

Item that is a collection of relationships items with specified name available on the instance. If this doesn't have any relationships of this type, the returned item nodeList will be empty.

Remarks

The methods does not make a request to the server but rather returns relationships items available on this.dom in memory. If order to get relationships from server please use fetchRelationships(...) methods.

Exceptions

ExceptionCondition
System..::.ExceptionThe instance doesn't represent a single item.

See Also