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.1+2345335399184346d9b2cc992ed5c814406052c1
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.