Class DirectoryInfoExtensions
- Namespace
- IOInfoExtensions
- Assembly
- IOInfoExtensions.dll
Extension methods for the
System.IO.DirectoryInfo
class.public static class DirectoryInfoExtensions
- Inheritance
-
DirectoryInfoExtensions
Methods
- CopyContentTo(DirectoryInfo, DirectoryInfo, bool, bool, bool)
- Copies the content of the calling
DirectoryInfo
object to the destination directory.
- DeleteContent(DirectoryInfo)
- Deletes all the content within the directory.
- GetDirectory(DirectoryInfo, string, bool, bool)
- Returns a
DirectoryInfo
object for a child directory with the specified name.
- GetFile(DirectoryInfo, string, bool, bool)
- Returns a
FileInfo
object for the child file with the specified name.