OPC Studio User's Guide and Reference
Replace Method



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Extensions.FileProviders Namespace > IWritableFileInfoExtension Class : Replace Method
Replaces the contents of a specified file with the file described by the current IWritableFileInfo object, deleting the original target file.
Overload List
OverloadDescription
Replaces the contents of a specified file with the file described by the current IWritableFileInfo object, deleting the original target file.  
Replaces the contents of a specified file with the file described by the current IWritableFileInfo object, deleting the original file, and creating a backup of the replaced file.  
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also