Click or drag to resize

FileOperationMoveItem Method (String, String, Boolean)

Declares a single item that is to be moved to a specified destination.

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public int MoveItem(
	string path,
	string newPath,
	bool throwOnError = true
)

Parameters

path
Type: SystemString
The item path.
newPath
Type: SystemString
The new item path.
throwOnError (Optional)
Type: SystemBoolean
if set to true errors may be throw in case of Windows Shell errors.

Return Value

Type: Int32
The result of Windows Shell last operation.
Exceptions
ExceptionCondition
ArgumentNullExceptionpath is null or folderPath is null.
See Also