OpenText()

FileInfo::OpenText() method

Opens the existing file at the location specified by the path represented by the current object for reading text using UTF-8 encoding with no sharing.

StreamReaderPtr System::IO::FileInfo::OpenText()

Return Value

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

See Also