편집

다음을 통해 공유


LiteralControl.Render(HtmlTextWriter) Method

Definition

Writes the content of the LiteralControl object to the ASP.NET page.

protected:
 override void Render(System::Web::UI::HtmlTextWriter ^ output);
protected public:
 override void Render(System::Web::UI::HtmlTextWriter ^ output);
protected override void Render (System.Web.UI.HtmlTextWriter output);
protected internal override void Render (System.Web.UI.HtmlTextWriter output);
override this.Render : System.Web.UI.HtmlTextWriter -> unit
Protected Overrides Sub Render (output As HtmlTextWriter)
Protected Friend Overrides Sub Render (output As HtmlTextWriter)

Parameters

output
HtmlTextWriter

An HtmlTextWriter that renders the content of the LiteralControl to the requesting client.

Remarks

When you create a custom server control and want to render specific HTML or text to a client, you can improve the performance of the control by passing the value of the Text property to the Control.Render method rather than calling the Render method.

Applies to

See also