System.IO.IsolatedStorage.IsolatedStorageFile.MoveFile Method

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

This method does not throw an exception if sourceFileName and destinationFileName are the same.

Requirements

Namespace: System.IO.IsolatedStorage
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 4.0.0.0