Click or drag to resize

FileOperationCopyItem Method (ShellItemIdList, ShellItemIdList, String, Boolean)

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

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public int CopyItem(
	ShellItemIdList idList,
	ShellItemIdList folderIdList,
	string name = null,
	bool throwOnError = true
)

Parameters

idList
Type: callback.ShellBoost.CoreShellItemIdList
The item PIDL.
folderIdList
Type: callback.ShellBoost.CoreShellItemIdList
The folder PIDL.
name (Optional)
Type: SystemString
The new name for the item after it has been copied. If null, the name of the destination item is the same as the source.
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
ArgumentNullExceptionidl is null or folderIdl is null.
See Also