Share via


Write Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Writes data to a text string or 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
Public method Write(Boolean) Writes the text representation of a Boolean value to the text string or stream.
Public method Write(Char) Writes a character to the text string or stream.
Public method Write(array<Char> [] () [] []) Writes a character array to the text string or stream.
Public method Write(Double) Writes the text representation of an 8-byte floating-point value to the text string or stream.
Public method Write(Int32) Writes the text representation of a 4-byte signed integer to the text string or stream.
Public method Write(Int64) Writes the text representation of an 8-byte signed integer to the text string or stream.
Public method Write(Object) Writes the text representation of an object to the text string or stream by calling the ToString method on that object.
Public method Write(Single) Writes the text representation of a 4-byte floating-point value to the text string or stream.
Public method Write(String) Writes a string to the text string or stream.
Public method Write(UInt32) Writes the text representation of a 4-byte unsigned integer to the text string or stream.
Public method Write(UInt64) Writes the text representation of an 8-byte unsigned integer to the text string or stream.
Public method Write(array<Char> [] () [] [], Int32, Int32) Writes a subarray of characters to the text string or stream.

Top

See Also

Reference

TextWriter Class

System.IO Namespace