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.6.308
Syntax IElement Clone(
string cloneName = null
)
Function Clone (
Optional cloneName As String = Nothing
) As IElement
IElement^ Clone(
String^ cloneName = nullptr
)
abstract Clone :
?cloneName : string
(* Defaults:
let _cloneName = defaultArg cloneName null
*)
-> IElement
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:
IElementThe new element that is copy of this element.
See Also Reference
IFieldsCollection