StreamWriter Members
.NET Framework 3.0
Implements a TextWriter for writing characters to a stream in a particular encoding.
The following tables list the members exposed by the StreamWriter type.
(see also
Protected Fields
)
Top
| Name | Description | |
|---|---|---|
| Null | Provides a StreamWriter with no backing store that can be written to, but not read from. |
| Name | Description | |
|---|---|---|
| CoreNewLine | Stores the new line characters used for this TextWriter.(inherited from TextWriter) |
| Name | Description | |
|---|---|---|
| AutoFlush | Gets or sets a value indicating whether the StreamWriter will flush its buffer to the underlying stream after every call to StreamWriter.Write. |
| BaseStream | Gets the underlying stream that interfaces with a backing store. |
| Encoding | Overridden. Gets the Encoding in which the output is written. |
| FormatProvider | Gets an object that controls formatting.(inherited from TextWriter) |
| NewLine | Gets or sets the line terminator string used by the current TextWriter.(inherited from TextWriter) |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| Close | Overridden. Closes the current StreamWriter object and the underlying stream. |
| CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (inherited from MarshalByRefObject) |
| Dispose | Overloaded. |
| Equals | Overloaded. Determines whether two Object instances are equal. (inherited from Object) |
| Flush | Overridden. Clears all buffers for the current writer and causes any buffered data to be written to the underlying stream. |
| GetHashCode | Serves as a hash function for a particular type. (inherited from Object) |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (inherited from MarshalByRefObject) |
| GetType | Gets the Type of the current instance. (inherited from Object) |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (inherited from MarshalByRefObject) |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object) |
| Synchronized | Creates a thread-safe wrapper around the specified TextWriter. (inherited from TextWriter) |
| ToString | Returns a String that represents the current Object. (inherited from Object) |
| Write | Overloaded. Writes to the stream. |
| WriteLine | Overloaded. Writes some data as specified by the overloaded parameters, followed by a line terminator. (inherited from TextWriter) |
| Name | Description | |
|---|---|---|
| Dispose | Overloaded. Overridden. |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object) |
| MemberwiseClone | Overloaded. (inherited from MarshalByRefObject) |
Community Additions
ADD
Show: