CopyFileFlags Enumeration
Namespace: DevCase.Win32.EnumsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[FlagsAttribute]
public enum CopyFileFlags
<FlagsAttribute>
Public Enumeration CopyFileFlags
Dim instance As CopyFileFlags
[FlagsAttribute]
public enum class CopyFileFlags
[<FlagsAttribute>]
type CopyFileFlags
No code example is currently available or this language may not be supported.
None |
0 |
|
FailIfExists |
1 |
The copy operation fails immediately if the target file already exists.
|
Restartable |
2 |
Progress of the copy is tracked in the target file in case the copy fails.
The failed copy can be restarted at a later time by specifying the same values for
existingFileName and newFileName parameters as those used in the call that failed.
This can significantly slow down the copy operation as the new file may be flushed multiple times during the copy operation.
|
OpenSourceForWrite |
4 |
The file is copied and the original file is opened for write access.
|
AllowDecryptedDestination |
8 |
An attempt to copy an encrypted file will succeed even if the destination copy cannot be encrypted.
|
CopySymbolicLink |
2,048 |
If the source file is a symbolic link,
the destination file is also a symbolic link pointing to the same file that the source symbolic link is pointing to.
! This value is not supported in Windows XP and Windows Server 2003 !
|
NoBuffering |
4,096 |
The copy operation is performed using unbuffered I/O, bypassing system I/O cache resources.
Recommended for very large file transfers.
! This value is not supported in Windows XP and Windows Server 2003 !
|