Move Move Move Move Class


Task to move one or more files.

public ref class Move : Microsoft::Build::Tasks::TaskExtension, Microsoft::Build::Framework::ICancelableTask
public class Move : Microsoft.Build.Tasks.TaskExtension, Microsoft.Build.Framework.ICancelableTask
type Move = class
    inherit TaskExtension
    interface ICancelableTask
    interface ITask
Public Class Move
Inherits TaskExtension
Implements ICancelableTask


This does not support moving directories (ie, xcopy).


Move() Move() Move() Move()

Creates a task to move one or more files.


BuildEngine BuildEngine BuildEngine BuildEngine

Gets or sets the instance of the IBuildEngine object used by the task.

(Inherited from Task)
BuildEngine2 BuildEngine2 BuildEngine2 BuildEngine2

Gets the instance of the IBuildEngine2 object used by the task.

(Inherited from Task)
BuildEngine3 BuildEngine3 BuildEngine3 BuildEngine3

Gets the instance of the IBuildEngine3 object used by the task.

(Inherited from Task)
BuildEngine4 BuildEngine4 BuildEngine4 BuildEngine4

Gets the instance of the IBuildEngine4 object used by the task.

(Inherited from Task)
DestinationFiles DestinationFiles DestinationFiles DestinationFiles

Gets or sets the destination files that represent the destination of the matching source files.

DestinationFolder DestinationFolder DestinationFolder DestinationFolder

Gets or sets the destination folder for the source files.

HelpKeywordPrefix HelpKeywordPrefix HelpKeywordPrefix HelpKeywordPrefix

Gets or sets the prefix used to compose Help keywords from resource names.

(Inherited from Task)
HostObject HostObject HostObject HostObject

Gets or sets the host object associated with the task.

(Inherited from Task)
Log Log Log Log

Gets an instance of a TaskLoggingHelperExtension containing task logging methods.

(Inherited from TaskExtension)
MovedFiles MovedFiles MovedFiles MovedFiles

Gets an item representing the files that were successfully moved.

OverwriteReadOnlyFiles OverwriteReadOnlyFiles OverwriteReadOnlyFiles OverwriteReadOnlyFiles

Gets or sets a switch that selects whether files in the destination folder that have the read-only attribute set can be overwritten.

SourceFiles SourceFiles SourceFiles SourceFiles

Gets or sets an item representing the list of files to move.

TaskResources TaskResources TaskResources TaskResources

Gets or sets the culture-specific resources associated with the task.

(Inherited from Task)


Cancel() Cancel() Cancel() Cancel()

Stop and return (in an undefined state) as soon as possible.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
Execute() Execute() Execute() Execute()

Executes the move.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to