Прочитај на енглеском Уреди

Делите путем


HtmlControl.RenderBeginTag(HtmlTextWriter) Method

Definition

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

C#
protected virtual void RenderBeginTag(System.Web.UI.HtmlTextWriter writer);

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

Производ Верзије
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also