HtmlMeta.Render(HtmlTextWriter) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Renders the HtmlMeta control to the client's browser using the specified HtmlTextWriter object.
protected public:
override void Render(System::Web::UI::HtmlTextWriter ^ writer);
protected internal override void Render (System.Web.UI.HtmlTextWriter writer);
override this.Render : System.Web.UI.HtmlTextWriter -> unit
Protected Friend Overrides Sub Render (writer As HtmlTextWriter)
Parameters
- writer
- HtmlTextWriter
The HtmlTextWriter used to render the HtmlMeta control's content on the client's browser.
Remarks
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(HtmlTextWriter) method to provide custom rendering.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om