Click or drag to resize

FileOperationCopyItems Method (IEnumerableString, String, Boolean)

Declares a set of items that are to be copied to a specified destination.

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public int CopyItems(
	IEnumerable<string> paths,
	string folderPath,
	bool throwOnError = true
)

Parameters

paths
Type: System.Collections.GenericIEnumerableString
The items paths.
folderPath
Type: SystemString
The folder 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
ArgumentNullExceptionfolderPath is null.
See Also