DeleteResource Method
Deletes the specified file or folder.
Syntax
[VB.NET] Public Sub DeleteResource()
[C#] public void DeleteResource();
Remarks
This method deletes the file or folder specified by ResourceId. The resource is not moved to the trash and is deleted permanently.