Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

HtmlTextWriter.WriteLine Method

Writes data to an HtmlTextWriter output stream, as specified by the overloaded parameters, followed by a line terminator string. All versions of this method write any pending tab spacing to the output 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 WriteLine() Writes a line terminator string to the output stream. (Overrides TextWriter.WriteLine().)
Public method WriteLine(Boolean) Writes any pending tab spacing and the text representation of a Boolean value, followed by a line terminator string, to the output stream. (Overrides TextWriter.WriteLine(Boolean).)
Public method WriteLine(Char) Writes any pending tab spacing and a Unicode character, followed by a line terminator string, to the output stream. (Overrides TextWriter.WriteLine(Char).)
Public method WriteLine(Char[]) Writes any pending tab spacing and an array of Unicode characters, followed by a line terminator string, to the output stream. (Overrides TextWriter.WriteLine(Char[]).)
Public method WriteLine(Decimal) Writes the text representation of a decimal value followed by a line terminator to the text string or stream. (Inherited from TextWriter.)
Public method WriteLine(Double) Writes any pending tab spacing and the text representation of a double-precision floating-point number, followed by a line terminator string, to the output stream. (Overrides TextWriter.WriteLine(Double).)
Public method WriteLine(Int32) Writes any pending tab spacing and the text representation of a 32-byte signed integer, followed by a line terminator string, to the output stream. (Overrides TextWriter.WriteLine(Int32).)
Public method WriteLine(Int64) Writes any pending tab spacing and the text representation of a 64-byte signed integer, followed by a line terminator string, to the output stream. (Overrides TextWriter.WriteLine(Int64).)
Public method WriteLine(Object) Writes any pending tab spacing and the text representation of an object, followed by a line terminator string, to the output stream. (Overrides TextWriter.WriteLine(Object).)
Public method WriteLine(Single) Writes any pending tab spacing and the text representation of a single-precision floating-point number, followed by a line terminator string, to the output stream. (Overrides TextWriter.WriteLine(Single).)
Public method WriteLine(String) Writes any pending tab spacing and a text string, followed by a line terminator string, to the output stream. (Overrides TextWriter.WriteLine(String).)
Public method WriteLine(UInt32) Writes any pending tab spacing and the text representation of a 4-byte unsigned integer, followed by a line terminator string, to the output stream. (Overrides TextWriter.WriteLine(UInt32).)
Public method WriteLine(UInt64) Writes the text representation of an 8-byte unsigned integer followed by a line terminator to the text string or stream. (Inherited from TextWriter.)
Public method WriteLine(String, Object) Writes any pending tab spacing and a formatted string containing the text representation of an object, followed by a line terminator string, to the output stream. (Overrides TextWriter.WriteLine(String, Object).)
Public method WriteLine(String, Object[]) Writes any pending tab spacing and a formatted string that contains the text representation of an object array, followed by a line terminator string, to the output stream. (Overrides TextWriter.WriteLine(String, Object[]).)
Public method WriteLine(Char[], Int32, Int32) Writes any pending tab spacing and a subarray of Unicode characters, followed by a line terminator string, to the output stream. (Overrides TextWriter.WriteLine(Char[], Int32, Int32).)
Public method WriteLine(String, Object, Object) Writes any pending tab spacing and a formatted string that contains the text representation of two objects, followed by a line terminator string, to the output stream. (Overrides TextWriter.WriteLine(String, Object, Object).)
Public method WriteLine(String, Object, Object, Object) Writes out a formatted string and a new line, using the same semantics as Format. (Inherited from TextWriter.)
Top

The default line terminator string is a carriage return followed by a line feed ("\r\n"). The WriteLine base method is used to write the value parameter.

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