Click or drag to resize
DocumentHelperCopyDocument Method (TreeNode, TreeNode, Boolean, TreeProvider)
Copies the node to the specified location.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 11.0.0
Syntax
C#
public static TreeNode CopyDocument(
	TreeNode node,
	TreeNode target,
	bool includeChildNodes = false,
	TreeProvider tree = null
)

Parameters

node
Type: CMS.DocumentEngineTreeNode
Document node to copy
target
Type: CMS.DocumentEngineTreeNode
Target node
includeChildNodes (Optional)
Type: SystemBoolean
Copy also the node child nodes.
tree (Optional)
Type: CMS.DocumentEngineTreeProvider
TreeProvider to use

Return Value

Type: TreeNode
See Also