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: 9.0.0
Syntax
C#
public static void MoveDocument(
	TreeNode node,
	TreeNode target,
	TreeProvider tree = null,
	bool keepPermissions = false
)

Parameters

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