CsvRecordIndexOfColumn Method
Returns the zero-based index of the column in the CSV file, that has the specified
column name, or -1, if columnName is not one of the column names in the
CSV file.
Namespace: FolkerKinzel.CsvToolsAssembly: FolkerKinzel.CsvTools (in FolkerKinzel.CsvTools.dll) Version: 2.0.1+2345335399184346d9b2cc992ed5c814406052c1
public int IndexOfColumn(
string? columnName
)
Public Function IndexOfColumn (
columnName As String
) As Integer
public:
int IndexOfColumn(
String^ columnName
)
member IndexOfColumn :
columnName : string -> int
- columnName String
- The column name to be checked for the index of CsvRecord
that it refers to.
Int32The zero-based index of the column in the CSV file with the column name
columnName or -1, if
columnName is not one of the column
names in the CSV file.