Click or drag to resize

ImmutableDictionaryTKey, TValueItem Property

Gets or sets the element with the specified key.

Namespace: GSF.Immutable
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.244-beta+cf93f5f8aea4b941e9b426fe4e180c2bd85d31a2
Syntax
public TValue this[
	TKey key
] { get; set; }
View Source

Parameters

key  TKey
The key of the element to get or set.

Return Value

TValue
The element with the specified key.

Implements

IDictionaryTKey, TValueItemTKey
Exceptions
ExceptionCondition
ArgumentNullExceptionkey is null.
KeyNotFoundExceptionThe property is retrieved and key is not found.
NotSupportedExceptionThe property is set and the IDictionaryTKey, TValue is read-only.
See Also