Bewerken

Delen via


HtmlLink.Render(HtmlTextWriter) Method

Definition

Renders the HtmlLink control to 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 that receives the rendered content.

Remarks

The Render method renders a SelfClosingTagEnd closing bracket (/>) if the ASP.NET application is configured to render XHTML-compliant markup. By default, ASP.NET pages and controls render markup that is compatible with the XHTML 1.1 standard. For more information on configuring an ASP.NET Web site for non-XHTML rendering, see How to: Configure XHTML Rendering in ASP.NET Web Sites.

Applies to