DeleteView Method
Deletes the specified view.
Syntax
[VB.NET] Public Sub DeleteView()
[C#] public void DeleteView();
Remarks
This method deletes the view specified by ViewId.
NOTE: This method has a corresponding asynchronous version (DeleteViewAsync) for use in the WinRT environment.