Click or drag to resize
DocumentHelperMoveDocument Method (TreeNode, TreeNode, TreeProvider, Boolean)
Moves the specified document to the new location.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax
C#
public static void MoveDocument(
	TreeNode node,
	TreeNode target,
	TreeProvider tree = null,
	bool copyPermissions = false
)

Parameters

node
Type: CMS.DocumentEngineTreeNode
Document node to move
target
Type: CMS.DocumentEngineTreeNode
Target node
tree (Optional)
Type: CMS.DocumentEngineTreeProvider
TreeProvider to use
copyPermissions (Optional)
Type: SystemBoolean
Indicates if node permissions should be preserved.
See Also