Click or drag to resize
ContentActionsControlLinkNode Method
Links the node to the specified target.

Namespace: CMS.UIControls
Assembly: CMS.UIControls (in CMS.UIControls.dll) Version: 9.0.0
Syntax
C#
protected TreeNode LinkNode(
	TreeNode node,
	TreeNode targetNode,
	TreeProvider tree,
	bool copyPermissions,
	bool childNodes
)

Parameters

node
Type: CMS.DocumentEngineTreeNode
Node to move
targetNode
Type: CMS.DocumentEngineTreeNode
Target node
tree
Type: CMS.DocumentEngineTreeProvider
Tree provider
copyPermissions
Type: SystemBoolean
Indicates if node permissions should be copied
childNodes
Type: SystemBoolean
Indicates whether to link also child nodes

Return Value

Type: TreeNode
See Also