Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

StreamWriter Members

StreamWriter overview

Public Constructors

public constructorStreamWriter Constructor

Supported by the .NET Compact Framework.

Overloaded. Initializes a new instance of the StreamWriter class.

Public Fields

public fieldstatic (Shared in Visual Basic)Null

Supported by the .NET Compact Framework.

Provides a StreamWriter with no backing store that can be written to, but not read from.

Public Properties

public propertyAutoFlush

Supported by the .NET Compact Framework.

Gets or sets a value indicating whether the StreamWriter will flush its buffer to the underlying stream after every call to StreamWriter.Write.
public propertyBaseStream

Supported by the .NET Compact Framework.

Gets the underlying stream that interfaces with a backing store.
public propertyEncoding

Supported by the .NET Compact Framework.

Overridden. Gets the Encoding in which the output is written.
public propertyFormatProvider (inherited from TextWriter)

Supported by the .NET Compact Framework.

Gets an object that controls formatting.
public propertyNewLine (inherited from TextWriter)

Supported by the .NET Compact Framework.

Gets or sets the line terminator string used by the current TextWriter.

Public Methods

public methodClose

Supported by the .NET Compact Framework.

Overridden. Closes the current StreamWriter and the underlying stream.
public methodCreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
public methodEquals (inherited from Object)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodFlush

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.
public methodGetHashCode (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.
public methodGetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodInitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
public methodToString (inherited from Object)

Supported by the .NET Compact Framework.

Returns a String that represents the current Object.
public methodWrite

Supported by the .NET Compact Framework.

Overloaded. Overridden. Writes to the stream.
public methodWriteLine (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 Fields

protected fieldCoreNewLine (inherited from TextWriter) Stores the new line characters used for this TextWriter.

Protected Methods

protected methodDispose

Supported by the .NET Compact Framework.

Overridden. Releases the unmanaged resources used by the StreamWriter and optionally releases the managed resources.
protected methodFinalize

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.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

StreamWriter Class | System.IO Namespace

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.