Click or drag to resize

DirectoryDelete Method (String, Boolean, PathFormat)

[AlphaFS] Deletes the specified directory and, if indicated, any subdirectories in the directory.

Namespace:  Alphaleonis.Win32.Filesystem
Assembly:  AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax
public static void Delete(
	string path,
	bool recursive,
	PathFormat pathFormat
)

Parameters

path
Type: SystemString
The name of the directory to remove.
recursive
Type: SystemBoolean
to remove directories, subdirectories, and files in path. otherwise.
pathFormat
Type: Alphaleonis.Win32.FilesystemPathFormat
Indicates the format of the path parameter(s).
Exceptions
See Also