StorageProviderCopyHookBaseGetFolderOperationControlAsync Method |
IT Hit User File System
Method returns whether the Shell should perform the operation.
Namespace:
ITHit.FileSystem.Windows.ShellExtension
Assembly:
ITHit.FileSystem.Windows.ShellExtension (in ITHit.FileSystem.Windows.ShellExtension.dll) Version: 8.4.27341.0
Syntax public abstract Task<FolderOperationControl> GetFolderOperationControlAsync(
FolderOperation fileOperation,
string source,
string destination,
IntPtr parentWindow,
FolderControlFlags flags,
FileAttributes sourceAttributes,
FileAttributes destinationAttributes
)
Public MustOverride Function GetFolderOperationControlAsync (
fileOperation As FolderOperation,
source As String,
destination As String,
parentWindow As IntPtr,
flags As FolderControlFlags,
sourceAttributes As FileAttributes,
destinationAttributes As FileAttributes
) As Task(Of FolderOperationControl)
public:
virtual Task<FolderOperationControl>^ GetFolderOperationControlAsync(
FolderOperation fileOperation,
String^ source,
String^ destination,
IntPtr parentWindow,
FolderControlFlags flags,
FileAttributes sourceAttributes,
FileAttributes destinationAttributes
) abstract
abstract GetFolderOperationControlAsync :
fileOperation : FolderOperation *
source : string *
destination : string *
parentWindow : IntPtr *
flags : FolderControlFlags *
sourceAttributes : FileAttributes *
destinationAttributes : FileAttributes -> Task<FolderOperationControl>
Parameters
- fileOperation
- Type: ITHit.FileSystem.WindowsFolderOperation
The operation to perform
- source
- Type: SystemString
Name of the source folder.
- destination
- Type: SystemString
Name of the destination folder.
- parentWindow
- Type: SystemIntPtr
A handle to the window that the copy hook handler should use as the parent for
any user interface elements the handler may need to display. If FOF_SILENT is specified in operation,
the method should ignore this parameter.
- flags
- Type: ITHit.FileSystem.WindowsFolderControlFlags
The flags that control the operation FolderControlFlags enum.
- sourceAttributes
- Type: System.IOFileAttributes
The attributes of the source folder.
- destinationAttributes
- Type: System.IOFileAttributes
The attributes of the destination folder.
Return Value
Type:
TaskFolderOperationControl
Value that indicates whether the Shell should perform the operation.
See Also