CsvRecordContainsColumn Method

Determines whether the CsvRecord object contains a column with the specified column name.

Definition

Namespace: FolkerKinzel.CsvTools
Assembly: FolkerKinzel.CsvTools (in FolkerKinzel.CsvTools.dll) Version: 2.0.1+2345335399184346d9b2cc992ed5c814406052c1
C#
public bool ContainsColumn(
	string columnName
)

Parameters

columnName  String
The column name of the CSV file column to search for.

Return Value

Boolean
true if columnName is one of the column names of the CsvRecord object.

Exceptions

ArgumentNullExceptioncolumnName is null.

See Also