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.5+a1df9eb1ff3c1305310d778343390475b5f50c0f
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.