Class DirectoryInfoExtensions
IO-related extension methods for
Inheritance
System.Object
DirectoryInfoExtensions
Namespace: X10D.IO
Assembly: X10D.dll
Syntax
public static class DirectoryInfoExtensions : object
Methods
| Improve this Doc View SourceClear(DirectoryInfo)
Removes all files and subdirectories in this directory, recursively, without deleting this directory.
Declaration
public static void Clear(this DirectoryInfo directory)
Parameters
Type | Name | Description |
---|---|---|
DirectoryInfo | directory | The directory to clear. |