BuildMaster SDK Reference
Version:

Move(string sourceFileName, string targetFileName, bool overwrite) Method

Moves a file.

Syntax

public static void Move(string sourceFileName, string targetFileName, bool overwrite)

Parameters

sourceFileName
Type: string

The source file name.

targetFileName
Type: string

The target file name.

overwrite
Type: bool

Value indicating whether overwriting is allowed.

Exceptions

System.ArgumentNullException

sourceFileName is null (Nothing in Visual Basic) or empty or targetFileName is null (Nothing in Visual Basic) or empty.