FileUtilities.Replace(String,String,Boolean) - метод Смотри также Terrasoft.Common - пространство имен > FileUtilities - класс > Replace - метод : Replace(String,String,Boolean) - метод C#
- sourceFileName
- The name of the replaced file.
- destinationFileName
- The name of the replacing file.
- deleteSourceFile
true
, if replaced file must be deleted.
Glossary Item Box
public static bool Replace( string sourceFileName, string destinationFileName, bool deleteSourceFile )
Параметры
- sourceFileName
- The name of the replaced file.
- destinationFileName
- The name of the replacing file.
- deleteSourceFile
true
, if replaced file must be deleted.
Тип возвращаемого значения
true
, if replacement has been successful; false
if the file to replace does not exist.