TextWriter Members
.NET Framework 2.0
Represents a writer that can write a sequential series of characters. This class is abstract.
The following tables list the members exposed by the TextWriter type.
(see also
Protected Fields
)
Top
| Name | Description | |
|---|---|---|
| Null | Provides a TextWriter with no backing store that can be written to, but not read from. |
| Name | Description | |
|---|---|---|
| Encoding | When overridden in a derived class, returns the Encoding in which the output is written. |
| FormatProvider | Gets an object that controls formatting. |
| NewLine | Gets or sets the line terminator string used by the current TextWriter. |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| Close | Closes the current writer and releases any system resources associated with the writer. |
| 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. Releases all resources used by the TextWriter object. |
| Equals | Overloaded. Determines whether two Object instances are equal. (Inherited from Object.) |
| Flush | Clears all buffers for the current writer and causes any buffered data to be written to the underlying device. |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (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. |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) |
| Write | Overloaded. Writes the given data type to a text stream. |
| WriteLine | Overloaded. Writes some data as specified by the overloaded parameters, followed by a line terminator. |
| Name | Description | |
|---|---|---|
| Dispose | Overloaded. Releases all resources used by the TextWriter object. |
| 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: