Click or drag to resize

IElementClone Method


Clones the current element and returns a new element. The cloned element usesthe name provided.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.3.169
Syntax
IElement Clone(
	string cloneName = null
)

Parameters

cloneName (Optional)
Type: SystemString
New name of the cloned element. Must be valid XML Element name or an exception is thrown.

Return Value

Type: IElement
The new element that is copy of this element.
See Also