Clones the item.
Namespace:
Aras.IOM
Assembly:
IOM (in IOM.dll) Version: 14.0.9.36244
Syntaxpublic Item clone(
bool cloneRelationships
)
Public Function clone (
cloneRelationships As Boolean
) As Item
public Item clone(
boolean cloneRelationships
)
public function clone(
cloneRelationships : boolean
) : Item
Parameters
- cloneRelationships
- Type: SystemBoolean
If true, all relationships of the item are cloned as well.
Return Value
Type:
Item
Cloned item.
ExceptionsException | Condition |
---|
Exception | The instance doesn't represent a single item. |
ArgumentException | this.node or some of its children nodes are read-only. |
Remarks
The method creates a new instance of ArasXmlDocument that is referenced by the cloned item's dom and is
populated by xml of this.node. Cloned item as well as cloned relationships have new IDs and action
attributes set to 'add'.
See Also