IStringKeyedReadOnlyDictionaryTValueGetValueOrDefault(ReadOnlySpanChar) Method
Tries to get the value from the dictionary for the given key.
Namespace: KGySoft.CollectionsAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
TValue GetValueOrDefault(
ReadOnlySpan<char> key
)
Function GetValueOrDefault (
key As ReadOnlySpan(Of Char)
) As TValue
TValue GetValueOrDefault(
ReadOnlySpan<wchar_t> key
)
abstract GetValueOrDefault :
key : ReadOnlySpan<char> -> 'TValue
- key ReadOnlySpanChar
- The key whose value to get.
TValueThe found value or the default value of
TValue if
key was not found in the dictionary.
This member is available only in .NET Core 2.1/.NET Standard 2.1 and above.