DictionaryEntry(Object, Object) Konstruktor

Definice

Inicializuje instanci DictionaryEntry typu se zadaným klíčem a hodnotou.

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)

Parametry

key
Object

Objekt definovaný v každé dvojici klíč/hodnota.

value
Object

Definice přidružená k key.

Výjimky

key je null a .NET Framework verze je 1.0 nebo 1.1.

Platí pro