Click or drag to resize

IOUtilitiesDirectoryCopy Method (String, String, Boolean)

Copies a directory.

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public static void DirectoryCopy(
	string sourcePath,
	string targetPath,
	bool throwOnError = true
)

Parameters

sourcePath
Type: SystemString
The source directory path.
targetPath
Type: SystemString
The target directory path.
throwOnError (Optional)
Type: SystemBoolean
if set to true errors may be throw in case of errors.
Exceptions
ExceptionCondition
ArgumentNullExceptionsourcePath is null or targetPath is null.
See Also