Remove specified item from the this.dom
Namespace:
Aras.IOM
Assembly:
IOM (in IOM.dll) Version: 14.0.9.36244
Syntaxpublic void removeItem(
Item item
)
Public Sub removeItem (
item As Item
)
public void removeItem(
Item item
)
public function removeItem(
item : Item
)
Parameters
- item
- Type: Aras.IOMItem
Item to be removed.
ExceptionsException | Condition |
---|
Exception | The instance doesn't represent a collection of items. |
ArgumentException | -
Passed item and this don't reference the same ArasXmlDocument.
-
Passed item has wrong internal strucure; e.g. both node and nodeList are null; etc.
-
Can't remove an item node as its parent node is read-only.
|
Remarksthis has to represent a collection of items. Passed item's dom must reference the
same ArasXmlDocument as this.dom. If passed item's node is not null, the node and all
its sub-items are removed from this.dom; else if passed item's nodeList is not null,
every element of the list and its children are removed from this.dom. If before the removal either
this.node or this.nodeList referenced any of the removed items, those properties are adjusted, i.e.
this.node is set to null and\or this.nodeList is stripped of items that were
just removed.
See Also