HtmlControl.Render(HtmlTextWriter) 方法

定义

将在客户端上呈现的内容被写入到指定的 HtmlTextWriter 对象。Writes content to render on a client to the specified HtmlTextWriter object.

protected:
 override void Render(System::Web::UI::HtmlTextWriter ^ writer);
protected public:
 override void Render(System::Web::UI::HtmlTextWriter ^ writer);
protected 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 Overrides Sub Render (writer As HtmlTextWriter)
Protected Friend Overrides Sub Render (writer As HtmlTextWriter)

参数

writer
HtmlTextWriter

一个 HtmlTextWriter,包含要在客户端上呈现的输出流。A HtmlTextWriter that contains the output stream to render on the client.

注解

Render 方法调用 RenderBeginTag 方法并传递指定的 HtmlTextWriter 控件。The Render method calls the RenderBeginTag method and passes the specified HtmlTextWriter control.

适用于

另请参阅