Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

HtmlMeta.Render Method

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
)
protected void Render (
	HtmlTextWriter writer
)
protected internal override function Render (
	writer : HtmlTextWriter
)
Not applicable.

Parameters

writer

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 How to: Configure ASP.NET Web Sites for Non-XHTML Rendering.

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

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2015 Microsoft