ReadOnlyDictionary(Of TKey, TValue).Item Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets the element that has the specified key.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- key
- Type: TKey
The key of the element to get or set.
Implements
IReadOnlyDictionary(Of TKey, TValue).Item(TKey)| Exception | Condition |
|---|---|
| ArgumentNullException | key is Nothing. |
| KeyNotFoundException | The property is retrieved and key is not found. |
Show: