Click or drag to resize

IOUtilitiesDirectoryCopy Method (String, String, Boolean)

Copies a directory.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.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