CsvHeader Class
The names of the columns, read from the header row.
public sealed class CsvHeaderProperties
| Name | Description |
|---|---|
| ColumnCount | Gets the number of columns of the header row. |
| ColumnNames | Gets the names of the columns, in order. |
ColumnCount
CsvHeader.csColumnNames
CsvHeader.csGets the names of the columns, in order.
public IReadOnlyList<string> ColumnNames { get; }Property value
Methods
| Name | Description |
|---|---|
| IndexOf(string) | Gets the 0-based index of the column with the specified name. |
| ToString() | Returns a string that represents the current object. |
| TryGetIndex(string, int) | Gets the 0-based index of the column with the specified name. |
IndexOf(string)
CsvHeader.csToString()
CsvHeader.csTryGetIndex(string, int)
CsvHeader.csGets the 0-based index of the column with the specified name.