System.Web.UI.HtmlControls.HtmlMeta.Render Method

Renders the System.Web.UI.HtmlControls.HtmlMeta control to the client's browser using the specified System.Web.UI.HtmlTextWriter object.

Syntax

protected override void Render (System.Web.UI.HtmlTextWriter writer)

Parameters

writer
The System.Web.UI.HtmlTextWriter used to render the System.Web.UI.HtmlControls.HtmlMeta control's content on the client's browser.

Remarks

The System.Web.UI.HtmlControls.HtmlMeta control renders a System.Web.UI.HtmlTextWriter.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 How to: Configure ASP.NET Web Sites for Non-XHTML Rendering.

Requirements

Namespace: System.Web.UI.HtmlControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0