'Declaration Public Function RenameFile( _ ByVal oldFilename As String, _ ByVal newFilename As String _ ) As Boolean
public bool RenameFile( string oldFilename, string newFilename )
public: bool RenameFile( string* oldFilename, string* newFilename )
public: bool RenameFile( String^ oldFilename, String^ newFilename )
Parameters
- oldFilename
- The old filename.
- newFilename
- The new filename.
Return Value
true if file is found and renamed; otherwise, false.