Gets or sets the element with the specified key.
Declaration Syntax
C# |
public TValue this[ TKey key ] { get; }
Parameters
- key (TKey)
Return Value
The element with the specified key.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException |
key is null.
|
KeyNotFoundException |
The property is retrieved and key is not found.
|
NotSupportedException |
The property is set and the IDictionary<(Of <(<'TKey, TValue>)>)> is read-only.
|
Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)