DictionaryEntry(Object, Object) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes an instance of the DictionaryEntry type with the specified key and value.
public:
DictionaryEntry(System::Object ^ key, System::Object ^ value);
public DictionaryEntry (object key, object value);
public DictionaryEntry (object key, object? value);
new System.Collections.DictionaryEntry : obj * obj -> System.Collections.DictionaryEntry
Public Sub New (key As Object, value As Object)
Parameters
- key
- Object
The object defined in each key/value pair.
- value
- Object
The definition associated with key
.
Exceptions
key
is null
and the .NET Framework version is 1.0 or 1.1.
Remarks
In the .NET Framework 2.0 key
can be null
.
Applies to
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.