Click or drag to resize

IOUtilitiesDirectoryCopy Method (DirectoryInfo, DirectoryInfo, 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(
	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