System.Web.UI.HtmlTextWriter.WriteBreak Method

Writes a <br /> markup element to the output stream.

Syntax

public virtual void WriteBreak ()

Remarks

Use the HtmlTextWriter.WriteBreak method to render line breaks in custom control or adapter markup. The HtmlTextWriter.WriteBreak method writes a space between the br and / for improved HTML compatibility.

Requirements

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