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.

适用于

另请参阅