Modifier

Partager via


FileInfo.MoveTo Method

Definition

Overloads

MoveTo(String)
MoveTo(String, Boolean)

MoveTo(String)

public:
 void MoveTo(System::String ^ destFileName);
public void MoveTo (string destFileName);
member this.MoveTo : string -> unit
Public Sub MoveTo (destFileName As String)

Parameters

destFileName
String

Applies to

MoveTo(String, Boolean)

public:
 void MoveTo(System::String ^ destFileName, bool overwrite);
public void MoveTo (string destFileName, bool overwrite);
member this.MoveTo : string * bool -> unit
Public Sub MoveTo (destFileName As String, overwrite As Boolean)

Parameters

destFileName
String
overwrite
Boolean

Applies to