Detailed Method Reference
Namespace: Canley.Utility.CSV
Class: CanleyCSVReader
GetRowCount
public int GetRowCount()-
Description: Returns the total count of rows in the loaded CSV, including the header row.
-
Workflow:
- Evaluation: Accesses the internal list structure to determine the current vertical length of the data grid.
- Result: Returns 0 if no data is loaded or if the reader has been cleared.
-
Parameters: None.
-
Returns:
int(The total number of rows). -
Example:
int totalRows = reader.GetRowCount();