Renames a directory.

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

Syntax

C#
public static void DirectoryRename(
	string oldPath,
	string newPath
)
Visual Basic
Public Shared Sub DirectoryRename ( 
	oldPath As String,
	newPath As String
)
Visual C++
public:
static void DirectoryRename(
	String^ oldPath, 
	String^ newPath
)
F#
static member DirectoryRename : 
        oldPath : string * 
        newPath : string -> unit 

Parameters

oldPath
Type: System..::..String
Old path and directory name
newPath
Type: System..::..String
New path and directory name

See Also