TextWriter Members
The following tables list the members exposed by the TextWriter type.
Protected Constructors
| Name | Description | |
|---|---|---|
![]() |
TextWriter | Instantiates an instance of the TextWriter class. |
Public Fields
| Name | Description | |
|---|---|---|
![]() |
Null | Provides a null stream. |
Protected Fields
| Name | Description | |
|---|---|---|
![]() |
CoreNewLine | Stores the new line characters used for this TextWriter. |
Public Properties
| Name | Description | |
|---|---|---|
![]() |
Encoding | Retrieves the character encoding used by the stream. |
![]() |
NewLine | Gets or sets the line terminator string used by the current TextWriter object. |
Public Methods
| Name | Description | |
|---|---|---|
![]() |
Close | Closes the current writer and releases any system resources associated with it. |
![]() |
Dispose | Overloaded. Releases the resources associated with the current TextWriter. |
![]() |
Flush | Clears all buffers for the current TextWriter and causes any buffered data to be written to the underlying device. |
![]() |
Write | Overloaded. Writes a character or a group of characters to a stream. |
![]() |
WriteLine | Overloaded. Writes one line of characters to a stream. |
.gif)
.gif)
.gif)
.gif)
.gif)