Click or drag to resize

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.1.26791.0-Beta2
Syntax
public abstract Task<FolderOperationControl> GetFolderOperationControlAsync(
	FolderOperation fileOperation,
	string source,
	string destination,
	IntPtr parentWindow,
	FolderControlFlags flags,
	FileAttributes sourceAttributes,
	FileAttributes destinationAttributes
)

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