FileHelperCopyDirectory Method |
Copies specified directory including its subdirectories and all underlying files.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 10.0.0
Syntax public static void CopyDirectory(
string sourcePath,
string targetPath
)
Parameters
- sourcePath
- Type: SystemString
Path of the source directory (can be relative starting with ~/) - targetPath
- Type: SystemString
Path of the new copy of the directory including its name (can be relative starting with ~/)
See Also