Renames a file.

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

Syntax

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

Parameters

oldPath
Type: System..::..String
Old path and file
newPath
Type: System..::..String
New path and file

See Also