DeleteFile Method
Remove a file specified by FileName from the server.
Syntax
[VB.NET] Public Sub DeleteFile(ByVal FileName As String)
[C#] public void DeleteFile(string fileName);
Remarks
This method deletes the files specified by the FileName parameter from the server. FileName may be either an absolute path, or a path relative to RemotePath.
NOTE: This method has a corresponding asynchronous version (DeleteFileAsync) for use in the Xamarin environment.