Export (0) Print
Expand All

StreamWriter.Write Method

Writes data to the stream.

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

  Name Description
Public method Write(Boolean) Writes the text representation of a Boolean value to the text string or stream. (Inherited from TextWriter.)
Public method Write(Char) Writes a character to the stream. (Overrides TextWriter.Write(Char).)
Public method Write(Char[]) Writes a character array to the stream. (Overrides TextWriter.Write(Char[]).)
Public method Write(Decimal) Writes the text representation of a decimal value to the text string or stream. (Inherited from TextWriter.)
Public method Write(Double) Writes the text representation of an 8-byte floating-point value to the text string or stream. (Inherited from TextWriter.)
Public method Write(Int32) Writes the text representation of a 4-byte signed integer to the text string or stream. (Inherited from TextWriter.)
Public method Write(Int64) Writes the text representation of an 8-byte signed integer to the text string or stream. (Inherited from TextWriter.)
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. (Inherited from TextWriter.)
Public method Write(Single) Writes the text representation of a 4-byte floating-point value to the text string or stream. (Inherited from TextWriter.)
Public method Write(String) Writes a string to the stream. (Overrides TextWriter.Write(String).)
Public method Write(UInt32) Writes the text representation of a 4-byte unsigned integer to the text string or stream. (Inherited from TextWriter.)
Public method Write(UInt64) Writes the text representation of an 8-byte unsigned integer to the text string or stream. (Inherited from TextWriter.)
Public method Write(String, Object) Writes a formatted string to the text string or stream, using the same semantics as the String.Format(String, Object) method. (Inherited from TextWriter.)
Public method Write(String, Object[]) Writes a formatted string to the text string or stream, using the same semantics as the String.Format(String, Object[]) method. (Inherited from TextWriter.)
Public method Write(Char[], Int32, Int32) Writes a subarray of characters to the stream. (Overrides TextWriter.Write(Char[], Int32, Int32).)
Public method Write(String, Object, Object) Writes a formatted string to the text string or stream, using the same semantics as the String.Format(String, Object, Object) method. (Inherited from TextWriter.)
Public method Write(String, Object, Object, Object) Writes a formatted string to the text string or stream, using the same semantics as the String.Format(String, Object, Object, Object) method. (Inherited from TextWriter.)
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft