C# 클래스 System.IO.FileExtensions

파일 보기 프로젝트 열기: BF2Statistics/ControlCenter

공개 메소드들

메소드 설명
Rename ( this fileInfo, string newName, bool replace = true ) : bool

Renames the file to the specified name

메소드 상세

Rename() 공개 정적인 메소드

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
리턴 bool