DataRowCollection::IndexOf Method (DataRow^)
.NET Framework (current version)
Gets the index of the specified DataRow object.
Assembly: System.Data (in System.Data.dll)
Parameters
- row
-
Type:
System.Data::DataRow^
The DataRow to search for.
Return Value
Type: System::Int32The zero-based index of the row, or -1 if the row is not found in the collection.
.NET Framework
Available since 2.0
Available since 2.0
Show: