Page.Render(HtmlTextWriter) Page.Render(HtmlTextWriter) Page.Render(HtmlTextWriter) Page.Render(HtmlTextWriter) Method

定義

初始化 HtmlTextWriter 物件,並針對要呈現的 Page 子控制項呼叫。Initializes the HtmlTextWriter object and calls on the child controls of the Page to render.

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)

參數

writer
HtmlTextWriter HtmlTextWriter HtmlTextWriter HtmlTextWriter

HtmlTextWriter,接收頁面內容。The HtmlTextWriter that receives the page content.

備註

Render方法會負責建立的文字和傳送至用戶端瀏覽器的標記。The Render method is responsible for creating the text and markup that is sent to the client browser. 預設值Render方法呼叫RenderChildren来寫入的文字和在頁面上所包含之控制項的標記。The default Render method calls RenderChildren to write the text and markup for the controls contained on the page.

適用於

另請參閱