System.Web.UI.WebControls.Image.RenderContents Method

Renders the image control contents to the specified writer.

Syntax

protected override void RenderContents (System.Web.UI.HtmlTextWriter writer)

Parameters

writer
An System.Web.UI.HtmlTextWriter that represents the output stream to render HTML content on the client.

Remarks

The Image.RenderContents(System.Web.UI.HtmlTextWriter) method is primarily used by control developers. The System.Web.UI.WebControls.Image control implements the Image.RenderContents(System.Web.UI.HtmlTextWriter) method to skip rendering of any child controls.

Requirements

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