CreateText()

FileInfo::CreateText() method

Creates a file at the location specified by the path represented by the current object and opens it for writing text using UTF-8 encoding with no sharing.

StreamWriterPtr System::IO::FileInfo::CreateText()

Return Value

A shared pointer to a StreamWriter object associated with the created file

See Also