XhtmlTextWriter::WriteBreak Method ()

 

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

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

public:
virtual void WriteBreak() override

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.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: