HtmlMeta.Render Method

Note: This method is new in the .NET Framework version 2.0.

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

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 XHTML Rendering in ASP.NET Web Sites.

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

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

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show: