C# Class System.IO.FileExtensions

Afficher le fichier Open project: BF2Statistics/ControlCenter

Méthodes publiques

Méthode Description
Rename ( this fileInfo, string newName, bool replace = true ) : bool

Renames the file to the specified name

Method Details

Rename() public static méthode

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
Résultat bool