Moves a specified directory and its contents to a new location.
Syntax
[System.Runtime.InteropServices.ComVisible(false)]
public
void MoveDirectory (
string sourceDirectoryName,
string destinationDirectoryName)
Parameters
- sourceDirectoryName
-
The name of the directory to move. - destinationDirectoryName
-
The path to the new location for sourceDirectoryName. This cannot be the path to an existing directory.
Remarks
Requirements
Namespace: System.IO.IsolatedStorage
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 4.0.0.0