System.Web.UI.HtmlControls.HtmlControl.RenderAttributes Method

Renders the System.Web.UI.HtmlControls.HtmlControl control's attributes into the specified System.Web.UI.HtmlTextWriter object.

Syntax

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

Parameters

writer
The System.Web.UI.HtmlTextWriter that receives the rendered content.

Remarks

The HtmlControl.RenderAttributes(System.Web.UI.HtmlTextWriter) method writes the System.Web.UI.Control.ID attribute of the System.Web.UI.HtmlControls.HtmlControl control.

The HtmlControl.RenderAttributes(System.Web.UI.HtmlTextWriter) method is used primarily by control developers extending the functionality of the System.Web.UI.HtmlControls.HtmlControl control.

Requirements

Namespace: System.Web.UI.HtmlControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0