Returns a parent item of the instance.
Namespace:
Aras.IOM
Assembly:
IOM (in IOM.dll) Version: 14.0.9.36244
Syntaxpublic Item getParentItem()
Public Function getParentItem As Item
public Item getParentItem()
public function getParentItem() : Item
Return Value
Type:
Item
If
this.node doesn't have an ancestor::Item,
null is returned.
ExceptionsException | Condition |
---|
Exception | The 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