Click or drag to resize
TreeNodeDelete Method (Boolean, Boolean)
Deletes the document.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax
C#
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: Boolean
See Also