Moves a specified file to a new location, and optionally lets you specify a new file name.
Syntax
[System.Runtime.InteropServices.ComVisible(false)]
public
void MoveFile (
string sourceFileName,
string destinationFileName)
Parameters
- sourceFileName
-
The name of the file to move. - destinationFileName
-
The path to the new location for the file. If a file name is included, the moved file will have that name.
Remarks
Requirements
Namespace: System.IO.IsolatedStorage
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 4.0.0.0