Click or drag to resize

ItemgetParentItem Method

Returns a parent item of the instance.

Namespace:  Aras.IOM
Assembly:  IOM (in IOM.dll) Version: 14.0.20.39432
Syntax
public Item getParentItem()

Return Value

Type: Item
If this.node doesn't have an ancestor::Item, null is returned.
Exceptions
ExceptionCondition
ExceptionThe instance doesn't represent a single item.
Remarks
The returned parent item is constructed the following way:
  • dom = this.dom
  • node = this.node.SelectSingleItem( "ancestor::Item" )
Note, that returned item dom and this.dom reference the same instance of ArasXmlDocument.
See Also