Inserts logical node with tag <or> under the parent node, which can be Item or Logical,
and returns an Item Object that represents a newly inserted logical node.
Namespace:
Aras.IOM
Assembly:
IOM (in IOM.dll) Version: 11.0.0.6296
Syntax
Visual Basic (Declaration) |
---|
Public Function newOR As Item |
JScript |
---|
public function newOR() : Item |
Return Value
Logical "OR" item. Returned item shares
dom with
this item.
Remarks
Examples
CopyC#
...
var myItem = myInnovator.newItem('Foo','get');
var logicalOR = myItem.newOR();
logicalOR.setProperty('foo1','bar1, bar2');
logicalOR.setPropertyCondition('foo1', 'in');
logicalOR.setProperty('foo2','junk');
logicalOR.setPropertyCondition('foo2', 'eq');
...
Exceptions
Exception | Condition |
---|
System..::.Exception |
If the instance is neither a single regular item (i.e. item referencing <Item> node) nor a logical item.
|
System..::.ArgumentException | this.node is read-only. |
See Also