Moves a directory.

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

Syntax

C#
public override string MoveDirectory(
	string path,
	string newPath
)
Visual Basic
Public Overrides Function MoveDirectory ( 
	path As String,
	newPath As String
) As String
Visual C++
public:
virtual String^ MoveDirectory(
	String^ path, 
	String^ newPath
) override
F#
abstract MoveDirectory : 
        path : string * 
        newPath : string -> string 
override 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.

Implements

IFileContentProvider..::..MoveDirectory(String, String)

See Also