Click or drag to resize

FileCreateText Method (String, PathFormat)

[AlphaFS] Creates or opens a file for writing UTF-8 encoded text.

Namespace:  Alphaleonis.Win32.Filesystem
Assembly:  AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax
public static StreamWriter CreateText(
	string path,
	PathFormat pathFormat
)

Parameters

path
Type: SystemString
The file to be opened for writing.
pathFormat
Type: Alphaleonis.Win32.FilesystemPathFormat
Indicates the format of the path parameter(s).

Return Value

Type: StreamWriter
A StreamWriter that writes to the specified file using UTF-8 encoding.
See Also