FileBackedDictionary<TKey, TValue, TKeyElem, TValueElem>.Item Property

Gets or sets the element with the specified key.

Definition

Namespace: Gemstone.IO.Collections
Assembly: Gemstone.IO (in Gemstone.IO.dll) Version: 1.0.128 -- Release Build+2960d3f3619fdc53cad514a51817286dcfb19027
public TValue this[
	TKey key
] { get; set; }

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

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