TextWriter Members
Public Fields
![]() Null Supported by the .NET Compact Framework. | Provides a TextWriter with no backing store that can be written to, but not read from. |
Public Properties
Encoding Supported by the .NET Compact Framework. | When overridden in a derived class, returns the Encoding in which the output is written. |
FormatProvider Supported by the .NET Compact Framework. | Gets an object that controls formatting. |
NewLine Supported by the .NET Compact Framework. | Gets or sets the line terminator string used by the current TextWriter. |
Public Methods
Close Supported by the .NET Compact Framework. | Closes the current writer and releases any system resources associated with the writer. |
CreateObjRef (inherited from MarshalByRefObject) | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. |
Equals (inherited from Object)
Supported by the .NET Compact Framework. | Overloaded. Determines whether two Object instances are equal. |
Flush Supported by the .NET Compact Framework. | Clears all buffers for the current writer and causes any buffered data to be written to the underlying device. |
GetHashCode (inherited from Object)
Supported by the .NET Compact Framework. | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetLifetimeService (inherited from MarshalByRefObject) | Retrieves the current lifetime service object that controls the lifetime policy for this instance. |
GetType (inherited from Object)
Supported by the .NET Compact Framework. | Gets the Type of the current instance. |
InitializeLifetimeService (inherited from MarshalByRefObject) | Obtains a lifetime service object to control the lifetime policy for this instance. |
![]() Synchronized Supported by the .NET Compact Framework. | Creates a thread-safe wrapper around the specified TextWriter. |
ToString (inherited from Object)
Supported by the .NET Compact Framework. | Returns a String that represents the current Object. |
Write Supported by the .NET Compact Framework. | Overloaded. Writes the given data type to a text stream. |
WriteLine Supported by the .NET Compact Framework. | Overloaded. Writes some data as specified by the overloaded parameters, followed by a line terminator. |
Protected Constructors
TextWriter Constructor Supported by the .NET Compact Framework. | Overloaded. Initializes a new instance of the TextWriter class. |
Protected Fields
CoreNewLine Supported by the .NET Compact Framework. | Stores the new line characters used for this TextWriter. |
Protected Methods
Dispose Supported by the .NET Compact Framework. | Releases the unmanaged resources used by the TextWriter and optionally releases the managed resources. |
Finalize (inherited from Object)
Supported by the .NET Compact Framework. | Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
In C# and C++, finalizers are expressed using destructor syntax. |
MemberwiseClone (inherited from Object)
Supported by the .NET Compact Framework. | Creates a shallow copy of the current Object. |


