xtd 0.2.0
Loading...
Searching...
No Matches

◆ stream_writer() [1/4]

xtd::io::stream_writer::stream_writer ( const xtd::string path)
explicit

Initializes a new instance of the stream_writer class for the specified file name.

Parameters
pathThe complete file path to be read.
Exceptions
xtd::argument_exceptionpath contains one or more of the invalid characters
-or-
The system could not retrieve the absolute path.
xtd::io::io_exceptionthe handle of the specified file cannot be opened