DirectoryHelperCopyDirectory Method |
Copies specified directory including its subdirectories and all underlying files.
Namespace: CMS.IOAssembly: CMS.IO (in CMS.IO.dll) Version: 11.0.0
Syntaxpublic 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