TreeNodeInsertAsLink Method |
Inserts current node under specified parent node as a document link.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 12.0.0
Syntax public virtual void InsertAsLink(
TreeNode parent,
int newDocumentsOwner = 0,
int newDocumentsGroup = 0,
bool useDocumentHelper = true
)
Parameters
- parent
- Type: CMS.DocumentEngineTreeNode
Parent node - newDocumentsOwner (Optional)
- Type: SystemInt32
Owner of the new documents - newDocumentsGroup (Optional)
- Type: SystemInt32
Group of the new documents - useDocumentHelper (Optional)
- Type: SystemBoolean
If true, the document helper is used
Remarks Use this method only for creating a new node linked to existing document (the node must be existing document). The standard path properties of the node are not used during the insert operation and they are overwritten with new values.
See Also