Click or drag to resize

IOUtilitiesDirectoryCopy Method (DirectoryInfo, DirectoryInfo, 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(
	DirectoryInfo source,
	DirectoryInfo target,
	bool throwOnError = true
)

Parameters

source
Type: System.IODirectoryInfo
The source directory.
target
Type: System.IODirectoryInfo
The target directory.
throwOnError (Optional)
Type: SystemBoolean
if set to true errors may be throw in case of errors.
Exceptions
ExceptionCondition
ArgumentNullException source is null or target is null.
See Also