Bewerken

Share via


HtmlControl.RenderBeginTag(HtmlTextWriter) Method

Definition

Renders the opening HTML tag of the control into the specified HtmlTextWriter object.

protected:
 virtual void RenderBeginTag(System::Web::UI::HtmlTextWriter ^ writer);
protected virtual void RenderBeginTag (System.Web.UI.HtmlTextWriter writer);
abstract member RenderBeginTag : System.Web.UI.HtmlTextWriter -> unit
override this.RenderBeginTag : System.Web.UI.HtmlTextWriter -> unit
Protected Overridable Sub RenderBeginTag (writer As HtmlTextWriter)

Parameters

writer
HtmlTextWriter

The HtmlTextWriter that receives the rendered content.

Remarks

The RenderBeginTag method renders the opening angle bracket (<), followed by the control's tag name, attributes, and a closing angle bracket (>).

The RenderBeginTag method is used primarily by control developers extending the functionality of the HtmlControl control.

Applies to

See also