Returns a parent item of the instance.
Namespace:
Aras.IOMAssembly: 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" )
Exceptions
Exception | Condition |
---|---|
System..::.Exception | The instance doesn't represent a single item. |