XhtmlTextWriter::WriteBreak Method ()
.NET Framework (current version)
Writes a <br/> element to the XHTML output stream.
Assembly: System.Web (in System.Web.dll)
The following code example demonstrates how to override the inherited HtmlTextWriter::BeginRender method to write a text string with the HtmlTextWriter::Write method and a <br/> element with the WriteBreak method.
.NET Framework
Available since 2.0
Available since 2.0
Show: