HtmlControl.RenderBeginTag(HtmlTextWriter) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.