Method | Description | |
---|---|---|
Rename ( this fileInfo, string newName, bool replace = true ) : bool |
Renames the file to the specified name
|
public static Rename ( this fileInfo, string newName, bool replace = true ) : bool | ||
fileInfo | this | |
newName | string | The new name of this file |
replace | bool | Indicates wether to delete the new file path if it exists already |
return | bool |