Inserts logical node with tag <and> 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 newAND As Item |
JScript |
---|
public function newAND() : Item |
Return Value
Logical "AND" item. Returned item shares
dom with
this item.
Remarks
Examples
CopyC#
...
var myItem = myInnovator.newItem('Foo','get');
var logicalAND = myItem.newAND();
logicalAND.setProperty('foo','bar1');
var nestedOR = logicalAND.newOR();
nestedOR.setProperty('foo2','bar2');
nestedOR.setProperty('foo3','bar3');
logicalOR.setPropertyCondition('foo3', '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