Appearance
CopyAll Method
Definition
- Namespace:
JASE.IO - Assembly:
JASE.dll
void CopyAll(DirectoryInfo source, DirectoryInfo target, bool preserveTimestamps = null)
csharp
void CopyAll(DirectoryInfo source, DirectoryInfo target, bool preserveTimestamps = null)Recursively copies all files and subdirectories from a source directory to a target directory.
Parameters
| Name | Description |
|---|---|
preserveTimestamps | If , copied files have their timestamps adjusted to match the original files. |
source | The source directory to copy from. |
target | The target directory to copy to. It is created if it does not exist. |