StreamWriter Properties
Collapse the table of content
Expand the table of content

StreamWriter Properties

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

The StreamWriter type exposes the following members.

Public property AutoFlush Gets or sets a value indicating whether the StreamWriter will flush its buffer to the underlying stream after every call to StreamWriter.Write.
Public property BaseStream Gets the underlying stream that interfaces with a backing store.
Public property Encoding Gets the Encoding in which the output is written. (Overrides TextWriter.Encoding.)
Public property FormatProvider Gets an object that controls formatting. (Inherited from TextWriter.)
Public property NewLine Gets or sets the line terminator string used by the current TextWriter. (Inherited from TextWriter.)

© 2016 Microsoft