When overridden in a derived class, gets the current data row when test is used for data driven testing.
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
The property returns values for the current row by column. This will return data identified by column. The column is identified either by name, as in the following example, or by its index location. Using the sample data table shown in following example section, an index identifier of DataRow will return the value for the Name column in Table1.
The following code contains the class and method to test.
The following test will pass. It uses the sample.mdb access database that contains Table1 with the following data.
Mr. Bryan Walton
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.