CsvRecordItem(String) Property

Gets or sets the value associated with the specified column name in the CSV file.

Definition

Namespace: FolkerKinzel.CsvTools
Assembly: FolkerKinzel.CsvTools (in FolkerKinzel.CsvTools.dll) Version: 2.0.2+e1e095fbd3614788c84dad3204b1e88c20f89802
C#
public ReadOnlyMemory<char> this[
	string columnName
] { get; set; }

Parameters

columnName  String
The column name of the CSV file.

Return Value

ReadOnlyMemoryChar
The value associated with the specified column name.

Exceptions

KeyNotFoundExceptionThe column name specified with columnName does not exist.
ArgumentNullExceptioncolumnName is null.

See Also