.NET Framework Class Library
StreamWriter Members

Implements a TextWriter for writing characters to a stream in a particular encoding.

The StreamWriter type exposes the following members.

Constructors

  NameDescription
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkStreamWriterOverloaded. Initializes a new instance of the StreamWriter class.
Top
Methods

  NameDescription
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkCloseCloses the current StreamWriter object and the underlying stream. (Overrides TextWriter..::.Close()()().)
Public methodCreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkDisposeOverloaded.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkFinalizeOverloaded.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkFlushClears all buffers for the current writer and causes any buffered data to be written to the underlying stream. (Overrides TextWriter..::.Flush()()().)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodInitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkMemberwiseCloneOverloaded.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToStringReturns a String that represents the current Object. (Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkWriteOverloaded. Writes to the stream.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkWriteLineOverloaded. Writes some data as specified by the overloaded parameters, followed by a line terminator.
Top
Fields

  NameDescription
Protected fieldSupported by the .NET Compact FrameworkSupported by the XNA FrameworkCoreNewLineStores the new line characters used for this TextWriter. (Inherited from TextWriter.)
Public fieldStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkNullProvides a StreamWriter with no backing store that can be written to, but not read from.
Top
Properties

  NameDescription
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkAutoFlushGets or sets a value indicating whether the StreamWriter will flush its buffer to the underlying stream after every call to StreamWriter..::.Write.
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkBaseStreamGets the underlying stream that interfaces with a backing store.
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkEncodingGets the Encoding in which the output is written. (Overrides TextWriter..::.Encoding.)
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkFormatProviderGets an object that controls formatting. (Inherited from TextWriter.)
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkNewLineGets or sets the line terminator string used by the current TextWriter. (Inherited from TextWriter.)
Top
Explicit Interface Implementations

  NameDescription
Explicit interface implemetationPrivate methodSupported by the .NET Compact FrameworkIDisposable..::.DisposeFor a description of this member, see IDisposable..::.Dispose. (Inherited from TextWriter.)
Top
See Also

Reference

Tags :


Page view tracker