DeleteResource Method
Deletes the specified resource.
Syntax
void __fastcall DeleteResource();Remarks
This method deletes the resource specified by ResourcePath. If the resource is a folder all the its contents will also be deleted.
When a file is deleted it will still be present in the deleted files of the account for some time. To permanently delete a file immediately set PermanentlyDelete to True before calling this method.