StringKeyedDictionaryTValueItem(ReadOnlySpanChar) Property

Gets the value associated with the specified key.

Definition

Namespace: KGySoft.Collections
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.1.0
C#
public TValue this[
	ReadOnlySpan<char> key
] { get; }

Parameters

key  ReadOnlySpanChar
The key of the value to get or set.

Return Value

TValue
The element with the specified key.

Implements

IStringKeyedDictionaryTValueItemReadOnlySpanChar
IStringKeyedReadOnlyDictionaryTValueItemReadOnlySpanChar

Remarks

  Note

This member is available only in .NET Core 2.1/.NET Standard 2.1 and above.

Exceptions

KeyNotFoundExceptionkey is not found.

See Also