Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Render Method

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 public:
virtual void Render(
	HtmlTextWriter^ writer
) override

Parameters

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 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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft