DictionaryEntry Constructor
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Initializes an instance of the DictionaryEntry type with the specified key and value.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- key
- Type: System.Object
The object defined in each key/value pair.
- value
- Type: System.Object
The definition associated with key.
| Exception | Condition |
|---|---|
| ArgumentNullException | key is null and the .NET Framework version is 1.0 or 1.1. |
Show: