DeleteResource Method
Deletes the specified resource.
Syntax
[VB.NET] Public Sub DeleteResource()
[C#] public void DeleteResource();
Remarks
This method deletes the resource specified by ResourceId.
When deleting a folder the entire contents (including sub-directories) will be deleted.
NOTE: This method has a corresponding asynchronous version (DeleteResourceAsync) for use in the WinRT environment.