TreeNodeDelete Method (Boolean, Boolean) |
Deletes the document.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 9.0.0
Syntax public 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:
BooleanSee Also