DirectoryDelete Method (String, PathFormat) |
[AlphaFS] Deletes an empty directory from a specified path.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax public static void Delete(
string path,
PathFormat pathFormat
)
Public Shared Sub Delete (
path As String,
pathFormat As PathFormat
)
public:
static void Delete(
String^ path,
PathFormat pathFormat
)
static member Delete :
path : string *
pathFormat : PathFormat -> unit
Parameters
- path
- Type: SystemString
The name of the empty directory to remove. This directory must be writable and empty. - pathFormat
- Type: Alphaleonis.Win32.FilesystemPathFormat
Indicates the format of the path parameter(s).
Exceptions See Also