TransferSourceFlags Enumeration

Flags used by methods of the ITransferSource, ITransferDestination and IFileOperation interfaces to control their file operations.

Definition

Namespace: DevCase.Win32.Enums
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[FlagsAttribute]
public enum TransferSourceFlags

Remarks

Members

Normal 0 Fail if the destination already exists, unless OverwriteExist is specified. This is a default behavior.
FailExist 0 Fail if the destination already exists, unless OverwriteExist is specified. This is a default behavior
RenameExist 1 Rename with auto-name generation if the destination already exists.
OverwriteExist 2 Overwrite or merge with the destination
AllowDecryption 4 Allow creation of a decrypted destination.
NoSecurity 8 No discretionary access control list (DACL), system access control list (SACL), or owner.
CopyCreationTime 16 Copy the creation time as part of the copy.

This can be useful for a move operation that is being used as a copy and delete operation (MoveAsCopyDelete)

CopyWriteTime 32 Copy the last write time as part of the copy.
UseFullAccess 64 Assign write, read, and delete permissions as share mode.
DeleteRecycleIfPossible 128 Recycle on file delete, if possible.
CopyHardLink 256 Hard link to the desired source (not required). This avoids a normal copy operation.
CopyLocalizedName 512 Copy the localized name.
MoveAsCopyDelete 1,024 Move as a copy and delete operation.
SuspendShellEvents 2,048 Suspend Shell events.

See Also