DirectoryHelperCopyDirectory Method |
Copies specified directory including its subdirectories and all underlying files.
Namespace: CMS.IOAssembly: CMS.IO (in CMS.IO.dll) Version: 12.0.0
Syntax public static void CopyDirectory(
string sourcePath,
string targetPath
)
Parameters
- sourcePath
- Type: SystemString
Full disk path of the source directory - targetPath
- Type: SystemString
Full disk path of the new copy of the directory including its name
See Also