IFileOperationProgressSinkPreCopyItem Method

Performs caller-implemented actions before the copy process for each item begins.

Definition

Namespace: DevCase.Win32.Interfaces
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[PreserveSigAttribute]
void PreCopyItem(
	TransferSourceFlags flags,
	IShellItem item,
	IShellItem destFolder,
	string newName
)

Parameters

flags  TransferSourceFlags
bitwise value that contains flags that control the operation.
item  IShellItem
Pointer to an IShellItem that specifies the source item.
destFolder  IShellItem
Pointer to an IShellItem that specifies the destination folder to contain the copy of the item.
newName  String
Pointer to a new name for the item after it has been copied. This is a null-terminated Unicode string and can be NULL.

If NULL, the name of the destination item is the same as the source.

See Also