HtmlMeta.Render Method (HtmlTextWriter)


Renders the HtmlMeta control to the client's browser using the specified HtmlTextWriter object.

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

protected internal override void Render(
	HtmlTextWriter writer


Type: System.Web.UI.HtmlTextWriter

The HtmlTextWriter used to render the HtmlMeta control's content on the client's browser.

The HtmlMeta control renders a SelfClosingTagEnd HTML bracket (/>) on the <meta> element if the client's browser is XHTML compliant. For more information on configuring ASP.NET for non-XHTML rendering, see NIB: How to: Configure XHTML Rendering in ASP.NET Web Sites.

Notes to Inheritors:

When extending the HtmlMeta control, override the Render method to provide custom rendering.

.NET Framework
Available since 2.0
Return to top