編輯

共用方式為


RepeatInfo.RenderRepeater Method

Definition

Renders a list control that repeats a list of items, using the specified information.

public:
 void RenderRepeater(System::Web::UI::HtmlTextWriter ^ writer, System::Web::UI::WebControls::IRepeatInfoUser ^ user, System::Web::UI::WebControls::Style ^ controlStyle, System::Web::UI::WebControls::WebControl ^ baseControl);
public void RenderRepeater (System.Web.UI.HtmlTextWriter writer, System.Web.UI.WebControls.IRepeatInfoUser user, System.Web.UI.WebControls.Style controlStyle, System.Web.UI.WebControls.WebControl baseControl);
member this.RenderRepeater : System.Web.UI.HtmlTextWriter * System.Web.UI.WebControls.IRepeatInfoUser * System.Web.UI.WebControls.Style * System.Web.UI.WebControls.WebControl -> unit
Public Sub RenderRepeater (writer As HtmlTextWriter, user As IRepeatInfoUser, controlStyle As Style, baseControl As WebControl)

Parameters

writer
HtmlTextWriter

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

user
IRepeatInfoUser

An IRepeatInfoUser implemented object that represents the control to render.

controlStyle
Style

A Style that represents the style in which to display the items.

baseControl
WebControl

The control from which to copy base attributes.

Remarks

Use the RenderRepeater method to render a list control that repeats a list of items, using the specified information.

Applies to

See also