HtmlControl.RenderAttributes(HtmlTextWriter) Method

Definition

Renders the HtmlControl control's attributes into the specified HtmlTextWriter object.

protected virtual void RenderAttributes (System.Web.UI.HtmlTextWriter writer);

Parameters

writer
HtmlTextWriter

The HtmlTextWriter that receives the rendered content.

Remarks

The RenderAttributes method writes the Control.ID attribute of the HtmlControl control.

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

Applies to

Produkt Versjoner
.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