IRepeatInfoUser.RenderItem(ListItemType, Int32, RepeatInfo, HtmlTextWriter) IRepeatInfoUser.RenderItem(ListItemType, Int32, RepeatInfo, HtmlTextWriter) IRepeatInfoUser.RenderItem(ListItemType, Int32, RepeatInfo, HtmlTextWriter) Method

Definition

Renders an item in the list with the specified information.

public:
 void RenderItem(System::Web::UI::WebControls::ListItemType itemType, int repeatIndex, System::Web::UI::WebControls::RepeatInfo ^ repeatInfo, System::Web::UI::HtmlTextWriter ^ writer);
public void RenderItem (System.Web.UI.WebControls.ListItemType itemType, int repeatIndex, System.Web.UI.WebControls.RepeatInfo repeatInfo, System.Web.UI.HtmlTextWriter writer);
abstract member RenderItem : System.Web.UI.WebControls.ListItemType * int * System.Web.UI.WebControls.RepeatInfo * System.Web.UI.HtmlTextWriter -> unit

Parameters

itemType
ListItemType ListItemType ListItemType

One of the ListItemType enumeration values.

repeatIndex
Int32 Int32 Int32

An ordinal index that specifies the location of the item in the list control.

repeatInfo
RepeatInfo RepeatInfo RepeatInfo

A RepeatInfo that represents the information used to render the item in the list.

writer
HtmlTextWriter HtmlTextWriter HtmlTextWriter

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

Remarks

A list control that inherits from the IRepeatInfoUser interface must implement the RenderItem method to render an item in the list with the specified information.

Applies to

See also