FolderItem.Delete Method
Deletes the file or directory specified by the FolderItem. This method permanently removes the file or directory from the volume it was stored on.
Syntax
If you are deleting a directory, it must be empty. If there is an error, the LastErrorCode property contains an error number.