Gets an element with the specified key. The set operation is not supported.
Declaration Syntax
Parameters
- key (Object)
- The key of the element to get.
Value
An element with the specified key.
Remarks
If key has multiple values, only one value is returned.
The returned object is of type String.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | key is a null reference.
|
NotSupportedException |
Always for set operation.
|