Click or drag to resize
TreeProviderCopyNode Method (TreeNode, TreeNode, Boolean)
Copies the node to the specified location, optionally with permissions and child nodes. The copy is named according to the parameter and assigned to given owner and group.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax
C#
public virtual TreeNode CopyNode(
	TreeNode node,
	TreeNode target,
	bool includeChildNodes = false
)

Parameters

node
Type: CMS.DocumentEngineTreeNode
Node to copy
target
Type: CMS.DocumentEngineTreeNode
Target node
includeChildNodes (Optional)
Type: SystemBoolean
Copy also the node child nodes

Return Value

Type: TreeNode
See Also