TextWriter.Write Method

Include Protected Members
Include Inherited Members

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Writes the given data type to a text stream.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Write(Boolean) Writes the text representation of a Boolean value to the text stream.
Write(Char) Writes a character to the text stream.
Write(array<Char>[]()[]) Writes a character array to the text stream.
Write(Decimal) Writes the text representation of a decimal value to the text stream.
Write(Double) Writes the text representation of an 8-byte floating-point value to the text stream.
Write(Int32) Writes the text representation of a 4-byte signed integer to the text stream.
Write(Int64) Writes the text representation of an 8-byte signed integer to the text stream.
Write(Object) Writes the text representation of an object to the text stream by calling ToString on that object.
Write(Single) Writes the text representation of a 4-byte floating-point value to the text stream.
Write(String) Writes a string to the text stream.
Write(UInt32) Writes the text representation of a 4-byte unsigned integer to the text stream.
Write(UInt64) Writes the text representation of an 8-byte unsigned integer to the text stream.
Write(String, Object) Writes out a formatted string, using the same semantics as String..::.Format.
Write(String, array<Object>[]()[]) Writes out a formatted string, using the same semantics as String..::.Format.
Write(array<Char>[]()[], Int32, Int32) Writes a subarray of characters to the text stream.
Write(String, Object, Object) Writes out a formatted string, using the same semantics as String..::.Format.

Top

See Also

Reference

TextWriter Class

TextWriter Members

System.IO Namespace