Click or drag to resize
TreeNodeInsert Method (Int32, Boolean)

Note: This API is now obsolete.

Inserts current node under specified parent node.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
[ObsoleteAttribute("This method is obsolete. Use overload method to pass parent document instance instead of the ID.")]
public virtual void Insert(
	int parentNodeId,
	bool useDocumentHelper = true


Type: SystemInt32
Parent node ID
useDocumentHelper (Optional)
Type: SystemBoolean
Use document helper
Use this method only for creating a new node that doesn't exist yet. The standard path properties of the node are not used during the insert operation and they are overwritten with new values.
See Also