File: CreateText

CreateText

Creates a file using a UTF8Encoding. If the file already exists, then it is overwritten.

 Public Function CreateText(
	  ByVal Path As String ) As StreamWriter

Parameters

Path
[ByVal] String. The new file to be created.

Return Values

StreamWriter -  A StreamWriter to be used to write to the new file.

Remarks

The StreamWriter is declared as Cor.NewStreamWriter(Path).

See Also

Project VBCorLib Overview | Class File Overview | StreamWriter