CsvRecordTryGetValue Method
Tries to get the value associated with the specified column name in the CSV
file.
Namespace: FolkerKinzel.CsvToolsAssembly: FolkerKinzel.CsvTools (in FolkerKinzel.CsvTools.dll) Version: 2.0.2+e1e095fbd3614788c84dad3204b1e88c20f89802
public bool TryGetValue(
string columnName,
out ReadOnlyMemory<char> value
)
Public Function TryGetValue (
columnName As String,
<OutAttribute> ByRef value As ReadOnlyMemory(Of Char)
) As Boolean
public:
bool TryGetValue(
String^ columnName,
[OutAttribute] ReadOnlyMemory<wchar_t>% value
)
member TryGetValue :
columnName : string *
value : ReadOnlyMemory<char> byref -> bool
- columnName String
- The column name in the CSV file whose value is being
obtained.
- value ReadOnlyMemoryChar
- After the method has finished, the argument contains the
value associated with the column name specified with columnName if
the key was found, or null otherwise. The parameter is passed uninitialized.
Booleantrue if it contains a column name with the value of
columnName, otherwise
false.