This documentation is archived and is not being maintained.
StreamWriter Methods
.NET Framework 1.1
The methods of the StreamWriter class are listed here. For a complete list of StreamWriter class members, see the StreamWriter Members topic.
Public Methods
Close Supported by the .NET Compact Framework. | Overridden. Closes the current StreamWriter and the underlying stream. |
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. | Overridden. Clears all buffers for the current writer and causes any buffered data to be written to the underlying stream. |
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. |
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. Overridden. Writes to the stream. |
WriteLine (inherited from TextWriter)
Supported by the .NET Compact Framework. | Overloaded. Writes some data as specified by the overloaded parameters, followed by a line terminator. |
Protected Methods
Dispose Supported by the .NET Compact Framework. | Overridden. Releases the unmanaged resources used by the StreamWriter and optionally releases the managed resources. |
Finalize Supported by the .NET Compact Framework. | Overridden. Frees the resources of the current StreamWriter before it is reclaimed by the garbage collector.
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. |
See Also
Show:
