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.
NOTE: This method has a corresponding asynchronous version (DeleteResourceAsync) for use in the WinRT environment.