Click or drag to resize
DirectoryInfoDeleteEmptySubdirectories Method (Boolean, Boolean)
[AlphaFS] Deletes empty subdirectories from the DirectoryInfo instance.

Namespace: Alphaleonis.Win32.Filesystem
Assembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax
public void DeleteEmptySubdirectories(
	bool recursive,
	bool ignoreReadOnly
)

Parameters

recursive
Type: SystemBoolean
deletes empty subdirectories from this directory and its subdirectories.
ignoreReadOnly
Type: SystemBoolean
overrides read only FileAttributes of empty directories.
See Also