IFileOperation Interface

Exposes methods to copy, move, rename, create, and delete Shell items as well as methods to provide progress and error dialogs.

This interface replaces the SHFileOperation function.

Definition

Namespace: DevCase.Win32.Interfaces
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[ComImportAttribute]
[GuidAttribute("947aab5f-0a5c-4c13-b4d6-4bf7836fc9f8")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IFileOperation

Remarks

Methods

Advise Enables a handler to provide status and error information for all operations.
ApplyPropertiesToItem Declares a single item whose property values are to be set.
ApplyPropertiesToItems Declares a set of items for which to apply a common set of property values.
CopyItem Declares a single item that is to be copied to a specified destination.
CopyItems Declares a set of items that are to be copied to a specified destination.
DeleteItem Declares a single item that is to be deleted.
DeleteItems Declares a set of items that are to be deleted.
GetAnyOperationsAborted Gets a value that states whether any file operations initiated by a call to PerformOperations were stopped before they were complete.

The operations could be stopped either by user action or silently by the system.

MoveItem Declares a single item that is to be moved to a specified destination.
MoveItems Declares a set of items that are to be moved to a specified destination.
NewItem Declares a new item that is to be created in a specified location.
PerformOperations Executes all selected operations.
RenameItem Declares a single item that is to be given a new display name.
RenameItems Declares a set of items that are to be given a new display name. All items are given the same name.
SetOperationFlags Sets parameters for the current operation.
SetOwnerWindow Sets the parent or owner window for progress and dialog windows.
SetProgressDialog Specifies a dialog box used to display the progress of the operation.
SetProgressMessage Not implemented.
SetProperties Declares a set of properties and values to be set on an item or items.
Unadvise Terminates an advisory connection previously established through Advise(IFileOperationProgressSink, UInt32)

See Also