Click or drag to resize
DocumentHelperInsertDocument Method
Inserts a new document.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 10.0.0
Syntax
C#
public static void InsertDocument(
	TreeNode node,
	TreeNode parentNode,
	TreeProvider tree = null,
	bool allowCheckOut = true
)

Parameters

node
Type: CMS.DocumentEngineTreeNode
Document node
parentNode
Type: CMS.DocumentEngineTreeNode
Parent node
tree (Optional)
Type: CMS.DocumentEngineTreeProvider
TreeProvider to use
allowCheckOut (Optional)
Type: SystemBoolean
If true, document check out is allowed on the insert action.
See Also