System.IO.IsolatedStorage.IsolatedStorageFile.MoveDirectory Method

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

sourceFileName and destinationFileName must specify different directory names.

Requirements

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