Deletes the given document.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- node
- Type: CMS.DocumentEngine TreeNode
Document node to delete
- tree (Optional)
- Type: CMS.DocumentEngine TreeProvider
TreeProvider to use
- deleteAllCultures (Optional)
- Type:
System Boolean
Delete all culture version of the specified document?
- destroyHistory (Optional)
- Type:
System Boolean
Destroy the document history?
- deleteProduct (Optional)
- Type:
System Boolean
Delete product of the document
- webRootFullPath (Optional)
- Type:
System String
Full path to the web root folder
- deletedNodeIDs (Optional)
- Type:
System.Collections ArrayList
List of the deleted node IDs - used to prevent cyclic node deletion.
Return Value
Type:
Returns true if last culture (Tree record) has been deleted.
See Also