Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

StreamWriter.Write Method

Writes to the stream.

Name Description
StreamWriter.Write (Boolean) Writes the text representation of a Boolean value to the text stream.
StreamWriter.Write (Char) Writes a character to the stream.

Supported by the .NET Compact Framework.

StreamWriter.Write (Char[]) Writes a character array to the stream.

Supported by the .NET Compact Framework.

StreamWriter.Write (Decimal) Writes the text representation of a decimal value followed by a line terminator to the text stream.
StreamWriter.Write (Double) Writes the text representation of an 8-byte floating-point value to the text stream.
StreamWriter.Write (Int32) Writes the text representation of a 4-byte signed integer to the text stream.
StreamWriter.Write (Int64) Writes the text representation of an 8-byte signed integer to the text stream.
StreamWriter.Write (Object) Writes the text representation of an object to the text stream by calling ToString on that object.
StreamWriter.Write (Single) Writes the text representation of a 4-byte floating-point value to the text stream.
StreamWriter.Write (String) Writes a string to the stream.

Supported by the .NET Compact Framework.

StreamWriter.Write (UInt32) Writes the text representation of a 4-byte unsigned integer to the text stream.
StreamWriter.Write (UInt64) Writes the text representation of an 8-byte unsigned integer to the text stream.
StreamWriter.Write (String, Object) Writes out a formatted string, using the same semantics as String.Format.
StreamWriter.Write (String, Object[]) Writes out a formatted string, using the same semantics as String.Format.
StreamWriter.Write (Char[], Int32, Int32) Writes a subarray of characters to the stream.

Supported by the .NET Compact Framework.

StreamWriter.Write (String, Object, Object) Writes out a formatted string, using the same semantics as String.Format.
StreamWriter.Write (String, Object, Object, Object) Writes out a formatted string, using the same semantics as String.Format.

Community Additions

Show:
© 2014 Microsoft