IMoveFile

The interface represents a file operation created by IFileOperation.NewCopyMoveFile to copy or move a file..

Declaration

IMoveFile : IDispatch

Properties

IComponent Component()
- Gets or sets the component associated with this operation.

string Condition()
- Gets or sets a condition that controls whether the operation runs.

IFolder Directory()
- Gets or sets the destination folder for the operation.

string ExecuteOn()
- Gets or sets when the operation executes (execution stage).

string FullPath()
- Gets the full path of the destination file resulting from the operation.

string Name()
- Gets or sets the name of this operation.

string Operation()
- Gets or sets the operation type. Typical values: "Copy" or "Move".

IFolder SourceDirectory()
- Gets or sets the source folder containing the file to be copied/moved.

string SourceName()
- Gets or sets the source file name.

SAFEARRAY(Variant) SupportedExecutionStages()
- Gets the list of execution stages supported by this operation.

string Type()
- Gets the operation type identifier.

Methods

void DeleteFile()
- Deletes the destination file produced by this operation, if present.