FileInfo: CreateText

CreateText

Returns a StreamWriter to write to this file.



 Public Function CreateText ( ) As StreamWriter

Return Values

StreamWriter -  The StreamWriter for writing to this file.

Remarks

If the file does not exist it will be created. If it already exists, it will be overwritten.

See Also

Project VBCorLib Overview Class FileInfo Overview FileInfo Properties FileInfo Methods Create CreationTime (get)