DataListItemCollection.Item Property (Int32)

 

Gets a DataListItem object at the specified index in the collection.

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

public DataListItem this[
	int index
] { get; }

Parameters

index
Type: System.Int32

The index of the DataListItem in the collection to retrieve.

Property Value

Type: System.Web.UI.WebControls.DataListItem

A DataListItem object in the collection at the specified index.

Use this indexer to get a DataListItem object from the DataListItemCollection at the specified index using array notation.

.NET Framework
Available since 1.1
Return to top
Show: