OPC Studio User's Guide and Reference
CreateStreamWriter Method



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Extensions.FileProviders Namespace > IWritableFileInfoExtension Class : CreateStreamWriter Method
Creates a System.IO.StreamWriter that writes a new text file.
Overload List
OverloadDescription
Creates a System.IO.StreamWriter that writes a new text file.  
Creates a System.IO.StreamWriter that writes a new text file, or appends text to the file.  
Creates a System.IO.StreamWriter that writes a new text file, or appends text to the file, using the specified encoding.  
Creates a System.IO.StreamWriter that writes a new text file, using the specified encoding.  
Creates a System.IO.StreamWriter that writes into a text file, specifying the file mode.  
Creates a System.IO.StreamWriter that writes into a text file, specifying the file mode and the encoding to use.  
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