DeleteDocumentSettings Constructor (TreeNode, TreeProvider, Boolean, Boolean, DeleteProductActionEnum, String, ArrayList, TreeNode, Int32, Boolean) |
Note: This API is now obsolete.
Creates and initializes DeleteDocumentSettings object.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax [ObsoleteAttribute("This constructor is obsolete. Use constructor with less parameters instead.")]
public DeleteDocumentSettings(
TreeNode node,
TreeProvider tree,
bool deleteAllCultures,
bool destroyHistory,
DeleteProductActionEnum deleteProductAction,
string webRootFullPath = null,
ArrayList deletedNodeIDs = null,
TreeNode altDocument = null,
int altMaxlevel = -1,
bool altCopyAllPaths = false
)
Parameters
- node
- Type: CMS.DocumentEngineTreeNode
Document node to delete - tree
- Type: CMS.DocumentEngineTreeProvider
TreeProvider to use - deleteAllCultures
- Type: SystemBoolean
Delete all culture version of the specified document? - destroyHistory
- Type: SystemBoolean
Destroy the document history? - deleteProductAction
- Type: CMS.DocumentEngineDeleteProductActionEnum
Action taken when document with product bound is deleted - webRootFullPath (Optional)
- Type: SystemString
Full path to the web root folder - deletedNodeIDs (Optional)
- Type: System.CollectionsArrayList
List of the deleted node IDs - altDocument (Optional)
- Type: CMS.DocumentEngineTreeNode
Alternating document - altMaxlevel (Optional)
- Type: SystemInt32
Maximal level of deleting document which should be used as source for alternating document - altCopyAllPaths (Optional)
- Type: SystemBoolean
Copy all paths to the alternating document
See Also