System.Web.UI.WebControls Namespace GridViewRowCollection Class
.NET Framework version 2.0
Returns a GridViewRow object at the specified index in the collection.
In [ C# ], this property is the indexer for the GridViewRowCollection class.
[ VB ]
Public Default ReadOnly Property Item ( _
ByVal index As Integer _
) As Item
[ C# ]
public Item this [
int index
] {get;}
[ C++ ]
public: __property Item* get_Item (
int index
);
[ JScript ]
returnValue=ItemCollectionObject.Item ( index );
-or-
returnValue=ItemCollectionObject ( index );
- index
- The zero-based index of the GridViewRow to retrieve in the collection.
The GridViewRow at the specified index in the collection.
Use this indexer to get a GridViewRow object from the GridViewRowCollection at the specified index using array notation.
GridViewRowCollection Members