/// <summary> /// Deletes the configuration item. /// </summary> /// <returns>True if the item was deleted, false otherwise.</returns> public bool Delete() { // Check if the file exists. if (File.Exists(FilePath)) { // The file exists. // Delete the file. return(File.Delete(FilePath)); } else { // The file doesn't exist. return(true); } }