System.Web.UI.WebControls.IRepeatInfoUser.RenderItem Method

Renders an item in the list with the specified information.

Syntax

public void RenderItem (ListItemType itemType, int repeatIndex, RepeatInfo repeatInfo, System.Web.UI.HtmlTextWriter writer)

Parameters

itemType
One of the System.Web.UI.WebControls.ListItemType enumeration values.
repeatIndex
An ordinal index that specifies the location of the item in the list control.
repeatInfo
A System.Web.UI.WebControls.RepeatInfo that represents the information used to render the item in the list.
writer
A System.Web.UI.HtmlTextWriter that represents the output stream to render HTML content on the client.

Remarks

A list control that inherits from the System.Web.UI.WebControls.IRepeatInfoUser interface must implement the IRepeatInfoUser.RenderItem(ListItemType, int, RepeatInfo, System.Web.UI.HtmlTextWriter) method to render an item in the list with the specified information.

Requirements

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