RemoveDirectory Method
Remove the specified directory.
Syntax
[VB.NET] Public Sub RemoveDirectory(ByVal DirName As String)
[C#] public void RemoveDirectory(string dirName);
Remarks
This method removes the directory specified by the DirName parameter. DirName may be either an absolute path, or a path relative to RemotePath.
Note: The folder and all of its contents will be deleted when calling this method.
NOTE: This method has a corresponding asynchronous version (RemoveDirectoryAsync) for use in the Xamarin environment.