Click or drag to resize
ContentActionsControlCopyNode Method
Copies the node to the specified target.

Namespace: CMS.UIControls
Assembly: CMS.UIControls (in CMS.UIControls.dll) Version: 12.0.0
Syntax
C#
protected TreeNode CopyNode(
	TreeNode node,
	TreeNode targetNode,
	bool childNodes,
	TreeProvider tree,
	bool copyPermissions,
	string newDocumentName = null
)

Parameters

node
Type: CMS.DocumentEngineTreeNode
Node to copy
targetNode
Type: CMS.DocumentEngineTreeNode
Target node
childNodes
Type: SystemBoolean
Copy also child nodes
tree
Type: CMS.DocumentEngineTreeProvider
Tree provider
copyPermissions
Type: SystemBoolean
Indicates if node permissions should be copied
newDocumentName (Optional)
Type: SystemString
New document name

Return Value

Type: TreeNode
See Also