Gets or sets the element with the specified key.
- key (Id)
The element with the specified key.
| Exception | Condition |
|---|---|
| NotSupportedException | The property is set and the IDictionary<(Of <(<'TKey, TValue>)>)> is read-only. |
| ArgumentNullException | key is null. |
| KeyNotFoundException | The property is retrieved and key is not found. |
| NotSupportedException | This instance is immutable |
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)