Click or drag to resize

FileBackedDictionary<TKey, TValue> .Item Property

Gets or sets the element with the specified key.

Namespace: GSF.Collections
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.245-beta+94213ae9d4d0aa7a2c48e5398b12d267b99f868a
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

IDictionary<TKey, TValue>.Item[TKey]
Exceptions
ExceptionCondition
ArgumentNullExceptionkey is null.
KeyNotFoundExceptionThe property is retrieved and key is not found.
NotSupportedExceptionThe property is set and the FileBackedDictionary<TKey, TValue> is read-only.
See Also