Property this
this[TAlternateKey]
Gets or sets the value associated with the specified alternate key. Setting a value replaces any existing value for the key.
Declaration
public TValue this[TAlternateKey key] { get; set; }
Parameters
| Type | Name | Description |
|---|---|---|
| TAlternateKey | key |
Property Value
| Type | Description |
|---|---|
| TValue |
Exceptions
| Type | Condition |
|---|---|
| KeyNotFoundException | The key does not exist in the dictionary, or its value has been garbage collected. |
| ObjectDisposedException | The dictionary has been disposed. |