Parameters
- row
- Row of the table.
- column
- Column of the table.
Exception | Description |
---|---|
EPLAN.Harness.API.Exceptions.OutOfBoundsException | Row index out of bounds, or column description is invalid. |
// Pick a column with the name "Length". ColumnDescription lengthColumn = reportTable.Columns.Where(n => n.Name == "Length").FirstOrDefault(); // Print the whole column: Console.WriteLine("Length column:"); for (int i = 0; i < reportTable.RowCount; i++) { // You can use ColumnDescription for indexing. Property value = reportTable[i, lengthColumn]; // Empty fields are set to null. if (value != null) Console.Write($"{value.ToString()}; "); else Console.Write("<empty>; "); } Console.WriteLine();