Edit

Share via


File.Move Method

Definition

Overloads

Move(String, String)
Move(String, String, Boolean)

Move(String, String)

public:
 static void Move(System::String ^ sourceFileName, System::String ^ destFileName);
public static void Move (string sourceFileName, string destFileName);
static member Move : string * string -> unit
Public Shared Sub Move (sourceFileName As String, destFileName As String)

Parameters

sourceFileName
String
destFileName
String

Applies to

Move(String, String, Boolean)

public:
 static void Move(System::String ^ sourceFileName, System::String ^ destFileName, bool overwrite);
public static void Move (string sourceFileName, string destFileName, bool overwrite);
static member Move : string * string * bool -> unit
Public Shared Sub Move (sourceFileName As String, destFileName As String, overwrite As Boolean)

Parameters

sourceFileName
String
destFileName
String
overwrite
Boolean

Applies to