ReadOnlyDictionary(Of TKey, TValue).IDictionary.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)
| Exception | Condition |
|---|---|
| ArgumentNullException | key is Nothing. |
| NotSupportedException | The property is set. -or- The property is set, key does not exist in the collection, and the dictionary has a fixed size. |
This member is an explicit interface member implementation. It can be used only when the ReadOnlyDictionary(Of TKey, TValue) instance is cast to an IDictionary interface.
Show: