DataGridItemCollection.Item[Int32] Property

Definition

Gets the DataGridItem object at the specified index in the collection.

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

Parameters

index
Int32

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

Property Value

The DataGridItem at the specified index in the collection.

Remarks

Use this indexer to get a DataGridItem object from the DataGridItemCollection collection at the specified index, using array notation.

Applies to

See also