System.Web.UI.HtmlTextWriter.WriteLine Method

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.

Syntax

public override void WriteLine (string format, object arg0)

Parameters

format
A string containing zero or more format items.
arg0
An object to format.

Remarks

The default line terminator string is a carriage return followed by a line feed ("\r\n"). The HtmlTextWriter.WriteLine(string, object) method uses the same semantics as the string.Format(string, object) method. The erload:System.IO.TextWriter.WriteLine base method is used to write the value parameter.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0