TreeNodeInsert Method (Int32, Boolean) |
Note: This API is now obsolete.
Inserts current node under specified parent node.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax [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
)
Parameters
- parentNodeId
- Type: SystemInt32
Parent node ID - useDocumentHelper (Optional)
- Type: SystemBoolean
Use document helper
Remarks 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