Delete an item and its descendants
Version:
You can use the Sitecore.Data.Items.Item.Delete method to delete an item and its descendants. For example, to delete the /Sitecore/Content/Home/Sample item in the Master database:
Note
The Sitecore.Data.Items.Item.Delete() method deletes the item and all of its descendants.
Note
You cannot delete items that are stored in resource files. If you have copied an item from a resource file to the database, Sitecore deletes it from the database and restores it from the resource file.