DirectoryDeleteEmptySubdirectories Method (String, Boolean, Boolean, PathFormat) |
[AlphaFS] Deletes empty subdirectories from the specified directory.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static void DeleteEmptySubdirectories(
string path,
bool recursive,
bool ignoreReadOnly,
PathFormat pathFormat
)
Public Shared Sub DeleteEmptySubdirectories (
path As String,
recursive As Boolean,
ignoreReadOnly As Boolean,
pathFormat As PathFormat
)
public:
static void DeleteEmptySubdirectories(
String^ path,
bool recursive,
bool ignoreReadOnly,
PathFormat pathFormat
)
static member DeleteEmptySubdirectories :
path : string *
recursive : bool *
ignoreReadOnly : bool *
pathFormat : PathFormat -> unit
Parameters
- path
- Type: SystemString
The name of the directory to remove empty subdirectories from. - recursive
- Type: SystemBoolean
deletes empty subdirectories from this directory and its subdirectories. - ignoreReadOnly
- Type: SystemBoolean
overrides read only FileAttributes of empty directories. - pathFormat
- Type: Alphaleonis.Win32.FilesystemPathFormat
Indicates the format of the path parameter(s).
Exceptions See Also