Returns a parent item of the instance.

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

Syntax

C#
public Item getParentItem()
Visual Basic (Declaration)
Public Function getParentItem As Item
J#
public Item getParentItem()
JScript
public function getParentItem() : Item

Return Value

If this.node doesn't have an ancestor::Item, null is returned.

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.

Exceptions

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

See Also