Export (0) Print
Expand All

IRepeatInfoUser.RenderItem Method

Renders an item in the list with the specified information.

[Visual Basic]
Sub RenderItem( _
   ByVal itemType As ListItemType, _
   ByVal repeatIndex As Integer, _
   ByVal repeatInfo As RepeatInfo, _
   ByVal writer As HtmlTextWriter _
)
[C#]
void RenderItem(
   ListItemType itemType,
 int repeatIndex,
 RepeatInfo repeatInfo,
 HtmlTextWriter writer
);
[C++]
void RenderItem(
   ListItemType itemType,
 int repeatIndex,
 RepeatInfo* repeatInfo,
 HtmlTextWriter* writer
);
[JScript]
function RenderItem(
   itemType : ListItemType,
 repeatIndex : int,
 repeatInfo : RepeatInfo,
 writer : HtmlTextWriter
);

Parameters

itemType
One of the ListItemType enumeration values.
repeatIndex
An ordinal index that specifies the location of the item in the list control.
repeatInfo
A 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 IRepeatInfoUser interface must implement the RenderItem method to render an item in the list with the specified information.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

IRepeatInfoUser Interface | IRepeatInfoUser Members | System.Web.UI.WebControls Namespace | ListItemType | RepeatInfo | System.Web.UI.HtmlTextWriter

Show:
© 2014 Microsoft