Click or drag to resize
FileHelperCopyDirectory Method
Copies specified directory including its subdirectories and all underlying files.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax
C#
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