DirectoryDelete Method (String) |
Deletes an empty directory from a specified path.
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static void Delete(
string path
)
Public Shared Sub Delete (
path As String
)
public:
static void Delete(
String^ path
)
static member Delete :
path : string -> unit
Parameters
- path
- Type: SystemString
The name of the empty directory to remove. This directory must be writable and empty.
Exceptions Remarks MSDN: .NET 4+ Trailing spaces are removed from the end of the path parameter before deleting the directory.
See Also