Move or rename a file or directory.
Namespace: BasicCard.BasicCards.FileSysAssembly: BasicCard (in BasicCard.dll) Version: 2.5.2.0 (2.5.2.0)
Syntax
C# |
---|
public void RenameFile(
string oldFile,
string newFile
) |
Visual Basic |
---|
Public Sub RenameFile (
oldFile As String,
newFile As String
) |
Visual C++ |
---|
public:
void RenameFile(
String^ oldFile,
String^ newFile
) |
F# |
---|
member RenameFile :
oldFile : string *
newFile : string -> unit
|
Parameters
- oldFile
- Type: System..::..String
old file name
- newFile
- Type: System..::..String
new file name
See Also