Click or drag to resize
CopyDocumentSettings Constructor (TreeNode, TreeProvider, Int32, Boolean, Int32, Int32, Boolean, String)

Note: This API is now obsolete.

Parametric constructor

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax
C#
[ObsoleteAttribute("This constructor is obsolete. Use constructor with less parameters instead.")]
public CopyDocumentSettings(
	TreeNode node,
	TreeProvider tree,
	int targetParentNodeId,
	bool includeChildNodes,
	int newDocumentsOwner,
	int newDocumentsGroup,
	bool copyPermissions,
	string newDocumentName
)

Parameters

node
Type: CMS.DocumentEngineTreeNode
Document node to copy
tree
Type: CMS.DocumentEngineTreeProvider
Tree provider to use
targetParentNodeId
Type: SystemInt32
Target location
includeChildNodes
Type: SystemBoolean
Copy also the node child nodes
newDocumentsOwner
Type: SystemInt32
Owner of the new documents
newDocumentsGroup
Type: SystemInt32
Owner of the new documents
copyPermissions
Type: SystemBoolean
Indicates if the document permissions should be copied
newDocumentName
Type: SystemString
New document name
See Also