Gets an element with the specified key. The set operation is not supported.


- key (Object)
- The key of the element to get.

An element with the specified key.

If key has multiple values, only one value is returned.
The returned object is of type String.

Exception | Condition |
---|---|
ArgumentNullException | key is a null reference.
|
NotSupportedException |
Always for set operation.
|