DataRowCollection.IndexOf(DataRow) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the index of the specified DataRow object.
public:
int IndexOf(System::Data::DataRow ^ row);
public int IndexOf (System.Data.DataRow? row);
public int IndexOf (System.Data.DataRow row);
member this.IndexOf : System.Data.DataRow -> int
Public Function IndexOf (row As DataRow) As Integer
Parameters
- row
- DataRow
The DataRow
to search for.
Returns
The zero-based index of the row, or -1 if the row is not found in the collection.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.