Click or drag to resize

Itemclone Method

Clones the item.

Namespace:  Aras.IOM
Assembly:  IOM (in IOM.dll) Version: 14.0.20.39432
Syntax
public Item clone(
	bool cloneRelationships
)

Parameters

cloneRelationships
Type: SystemBoolean
If true, all relationships of the item are cloned as well.

Return Value

Type: Item
Cloned item.
Exceptions
ExceptionCondition
ExceptionThe instance doesn't represent a single item.
ArgumentExceptionthis.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