BulletedList.RenderBulletText Method (ListItem, Int32, HtmlTextWriter)

 

Renders the bulleted text for each list item in a BulletedList control.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

protected virtual void RenderBulletText(
	ListItem item,
	int index,
	HtmlTextWriter writer
)

Parameters

item
Type: System.Web.UI.WebControls.ListItem

A collection of ListItem objects in a BulletedList.

index
Type: System.Int32

The zero-based index of the ListItem to retrieve from the collection.

writer
Type: System.Web.UI.HtmlTextWriter

The output stream that renders HTML content to the client.

The RenderBulletText method renders the bulleted text for each list item in a BulletedList control using the specified DisplayMode property.

.NET Framework
Available since 2.0
Return to top
Show: