WebControl.RenderEndTag(HtmlTextWriter) WebControl.RenderEndTag(HtmlTextWriter) WebControl.RenderEndTag(HtmlTextWriter) WebControl.RenderEndTag(HtmlTextWriter) Method

定義

將控制項的 HTML 結尾標記呈現至指定的寫入器。Renders the HTML closing tag of the control into the specified writer. 這個方法主要由控制項開發人員使用。This method is used primarily by control developers.

public:
 virtual void RenderEndTag(System::Web::UI::HtmlTextWriter ^ writer);
public virtual void RenderEndTag (System.Web.UI.HtmlTextWriter writer);
abstract member RenderEndTag : System.Web.UI.HtmlTextWriter -> unit
override this.RenderEndTag : System.Web.UI.HtmlTextWriter -> unit
Public Overridable Sub RenderEndTag (writer As HtmlTextWriter)

參數

writer
HtmlTextWriter HtmlTextWriter HtmlTextWriter HtmlTextWriter

HtmlTextWriter,代表要於用戶端呈現 HTML 內容的輸出資料流。A HtmlTextWriter that represents the output stream to render HTML content on the client.

備註

這會被設為公用,因此其他控制項可以在 Web 服務器控制項的開頭和結束記號之間轉譯多個控制項。This is made public so other controls can render multiple controls in between the opening and closing tags of a Web server control.

適用於

另請參閱