Click or drag to resize
StreamWriterNew Method (String, Boolean, Encoding)
Returns new instance of stream writer class.

Namespace: CMS.IO
Assembly: CMS.IO (in CMS.IO.dll) Version: 8.2.23
Syntax
C#
public static StreamWriter New(
	string path,
	bool append,
	Encoding encoding
)

Parameters

path
Type: SystemString
Path to file
append
Type: SystemBoolean
If should append data to existing file
encoding
Type: System.TextEncoding
Encoding

Return Value

Type: StreamWriter
See Also