Click or drag to resize

IOUtilitiesDirectoryMove Method

Moves a directory.

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public static bool DirectoryMove(
	string source,
	string destination,
	bool throwOnError = true
)

Parameters

source
Type: SystemString
The source.
destination
Type: SystemString
The destination.
throwOnError (Optional)
Type: SystemBoolean
if set to true errors may be throw in case of errors.

Return Value

Type: Boolean
true if a file was moved, false otherwise.
Exceptions
ExceptionCondition
ArgumentNullExceptionsource is null or destination is null.
See Also