System::IO::File::Replace 메서드

File::Replace method

한 파일의 내용을 다른 파일로 교체하고 교체된 파일의 백업을 생성합니다.

static void System::IO::File::Replace(const String &sourceFileName, const String &destinationFileName, const String &destinationBackupFileName, bool ignoreMetadataErrors=true)
매개변수형식설명
sourceFileNameconst String&교체할 파일의 이름
destinationFileNameconst String&교체할 파일의 이름
destinationBackupFileNameconst String&백업 파일의 이름
ignoreMetadataErrorsbool교체된 파일에서 교체 파일로의 병합 오류를 무시할지 여부를 지정합니다 (true) 또는 무시하지 않을지 (false)

또 보기