TreeNodeDelete Method (Boolean, Boolean) |
Deletes the document.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntaxpublic virtual bool Delete(
bool deleteAllCultures,
bool destroyHistory
)
Parameters
- deleteAllCultures
- Type: SystemBoolean
Indicates if all culture versions of the specified document should be deleted - destroyHistory
- Type: SystemBoolean
Indicates if document history should be deleted as well
Return Value
Type:
Boolean
See Also