Bewerken

Delen via


CompositeControl.Render(HtmlTextWriter) Method

Definition

Writes the CompositeControl content to the specified HtmlTextWriter object, for display on the client.

protected public:
 override void Render(System::Web::UI::HtmlTextWriter ^ writer);
protected internal override void Render (System.Web.UI.HtmlTextWriter writer);
override this.Render : System.Web.UI.HtmlTextWriter -> unit
Protected Friend Overrides Sub Render (writer As HtmlTextWriter)

Parameters

writer
HtmlTextWriter

An HtmlTextWriter that represents the output stream to render HTML content on the client.

Remarks

The Render method writes the rendered content of the control and its child controls to the client using the specified HtmlTextWriter. This method overrides the base implementation to ensure that all child controls in the Controls collection are created and then renders the control and its child controls using the base Control.Render and Control.RenderChildren methods.

Applies to

See also