ContentActionsControlCopyNode Method |
Copies the node to the specified target.
Namespace: CMS.UIControlsAssembly: CMS.UIControls (in CMS.UIControls.dll) Version: 13.0.131
Syntax 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:
TreeNodeSee Also