Gets or sets the element with the specified key.
Declaration Syntax
Parameters
- key (Id)
Value
Return Value
The element with the specified key.
Exceptions
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 |
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)