Method CopyDirectory
CopyDirectory(DirectoryInfo, DirectoryInfo)
Declaration
public static void CopyDirectory(DirectoryInfo sourcePath, DirectoryInfo targetPath)
Parameters
Type | Name | Description |
---|---|---|
DirectoryInfo | sourcePath | |
DirectoryInfo | targetPath |
CopyDirectory(DirectoryInfo, DirectoryInfo, Predicate<FileInfo>)
Declaration
public static void CopyDirectory(DirectoryInfo sourceDir, DirectoryInfo targetDir, Predicate<FileInfo> fileFilter)
Parameters
Type | Name | Description |
---|---|---|
DirectoryInfo | sourceDir | |
DirectoryInfo | targetDir | |
Predicate<FileInfo> | fileFilter |