FileCreateText Method (String) |
Creates or opens a file for writing UTF-8 encoded text.
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static StreamWriter CreateText(
string path
)
Public Shared Function CreateText (
path As String
) As StreamWriter
public:
static StreamWriter^ CreateText(
String^ path
)
static member CreateText :
path : string -> StreamWriter
Parameters
- path
- Type: SystemString
The file to be opened for writing.
Return Value
Type:
StreamWriterA StreamWriter that writes to the specified file using UTF-8 encoding.
See Also