DataListItemCollection.Item[Int32] Property

Definition

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

public:
 property System::Web::UI::WebControls::DataListItem ^ default[int] { System::Web::UI::WebControls::DataListItem ^ get(int index); };
public System.Web.UI.WebControls.DataListItem this[int index] { get; }
member this.Item(int) : System.Web.UI.WebControls.DataListItem
Default Public ReadOnly Property Item(index As Integer) As DataListItem

Parameters

index
Int32

The index of the DataListItem in the collection to retrieve.

Property Value

A DataListItem object in the collection at the specified index.

Remarks

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

Applies to

See also