FileOperationFlags 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 FileOperationFlags
<FlagsAttribute>
Public Enumeration FileOperationFlags
Dim instance As FileOperationFlags
[FlagsAttribute]
public enum class FileOperationFlags
[<FlagsAttribute>]
type FileOperationFlags
No code example is currently available or this language may not be supported.
MultipleDestinationFiles |
1 |
Specifies multiple destination files (one for each source file)
rather than one directory where all source files are to be deposited.
|
ConfirmMouse |
2 |
Not used.
|
Silent |
4 |
Do not display a progress dialog box.
|
RenameCollision |
8 |
Give the item being operated on a new name in a move, copy,
or rename operation if an item with the target name already exists.
|
NoConfirmation |
16 |
Respond with Yes to All for any dialog box that is displayed.
|
WantMappingHandle |
32 |
If RenameCollision is specified and any files were renamed,
assign a name mapping object that contains their old and new names to the SHFILEOPSTRUCT.hNameMappings member.
This object must be freed using SHFreeNameMappings function when it is no longer needed.
|
AllowUndo |
64 |
Preserve undo information, if possible.
|
FilesOnly |
128 |
Perform the operation only on files (not on folders) if a wildcard file name (.) is specified.
|
SimpleProgress |
256 |
Display a progress dialog box but do not show individual file names as they are operated on.
|
NoConfirmMakeDir |
512 |
Do not confirm the creation of a new folder if the operation requires one to be created.
|
NoErrorUI |
1,024 |
Do not display a message to the user if an error occurs.
If this flag is set without EarlyFailure,
any error is treated as if the user had chosen Ignore or Continue in a dialog box.
It halts the current action, sets a flag to indicate that an action was aborted,
and proceeds with the rest of the operation.
|
NoCopySecurityAttributes |
2,048 |
Do not copy the security attributes of the item.
|
NoRecursion |
4,096 |
Only operate in the local folder. Do not operate recursively into subdirectories.
|
NoConnectedElements |
8,192 |
Do not move connected items as a group. Only move the specified files.
|
WantNukeWarning |
16,384 |
Send a warning if a file or folder is being destroyed during a delete operation rather than recycled.
This flag partially overrides NoConfirmation.
|
NoRecurseReparse |
32,768 |
Not used.
|
NoSkipJunctions |
65,536 |
Walk into Shell namespace junctions.
By default, junctions are not entered.
|
PreferHardLink |
131,072 |
If possible, create a hard link rather than a new instance of the file in the destination.
|
ShowElevationPrompt |
262,144 |
If an operation requires elevated rights
and the NoErrorUI flag is set to disable error UI,
display a UAC UI prompt nonetheless.
|
RecycleOnDelete |
524,288 |
When a file is deleted, send it to the Recycle Bin rather than permanently deleting it.
|
EarlyFailure |
1,048,576 |
If EarlyFailure is set together with NoErrorUI,
the entire set of operations is stopped upon encountering any error in any operation.
This flag is valid only when NoErrorUI is set.
|
PreserveFileExtensions |
2,097,152 |
Rename collisions in such a way as to preserve file name extensions.
This flag is valid only when RenameCollision is also set.
|
KeepNewerFile |
4,194,304 |
Keep the newer file or folder, based on the Date Modified property, if a collision occurs.
This is done automatically with no prompt UI presented to the user.
|
NoCopyHooks |
8,388,608 |
Do not use copy hooks.
|
NoMinimizeBox |
16,777,216 |
Do not allow the progress dialog to be minimized.
|
MoveAclsAcrossVolumes |
33,554,432 |
Copy the security attributes of the source item to the destination item
when performing a cross-volume move operation.
Without this flag, the destination item receives the security attributes of its new folder.
|
DontDisplaySourcePath |
67,108,864 |
Do not display the path of the source item in the progress dialog.
|
DontDisplayDestinationPath |
134,217,728 |
Do not display the path of the destination item in the progress dialog.
|
RequireElevation |
268,435,456 |
The user expects a requirement for rights elevation,
so do not display a dialog box asking for a confirmation of the elevation.
|
AddUndoRecord |
536,870,912 |
The file operation was user-invoked and should be placed on the undo stack.
This flag is preferred to AllowUndo.
|
CopyAsDownload |
1,073,741,824 |
Display a Downloading instead of Copying message in the progress dialog.
|
DontDisplayLocations |
2,147,483,648 |
Do not display the location line in the progress dialog.
|