DeleteResource Method
Deletes the specified file or folder permanently.
Syntax
public void deleteResource();
Remarks
This method deletes the file or folder specified by ResourceId. The resource is not moved to the trash, it is deleted permanently.