Moves a directory.

Namespace: MonoSoftware.MonoX.FileSystem
Assembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)

Syntax

C#
string MoveDirectory(
	string path,
	string newPath
)
Visual Basic
Function MoveDirectory ( 
	path As String,
	newPath As String
) As String
Visual C++
String^ MoveDirectory(
	String^ path, 
	String^ newPath
)
F#
abstract MoveDirectory : 
        path : string * 
        newPath : string -> string 

Parameters

path
Type: System..::..String
Old path.
newPath
Type: System..::..String
New path.

Return Value

Type: String
Empty string if operation was successful; error message if an error occured.

See Also