Deletes the specified file or folder.
public void deleteResource();
This method deletes the file or folder specified by ResourceId. The resource is not moved to the trash and is deleted permanently.