WebControl.RenderBeginTag(HtmlTextWriter) WebControl.RenderBeginTag(HtmlTextWriter) WebControl.RenderBeginTag(HtmlTextWriter) WebControl.RenderBeginTag(HtmlTextWriter) Method

定義

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

public:
 virtual void RenderBeginTag(System::Web::UI::HtmlTextWriter ^ writer);
public virtual void RenderBeginTag (System.Web.UI.HtmlTextWriter writer);
abstract member RenderBeginTag : System.Web.UI.HtmlTextWriter -> unit
override this.RenderBeginTag : System.Web.UI.HtmlTextWriter -> unit
Public Overridable Sub RenderBeginTag (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.

適用於

另請參閱