DictionaryEntry(Object, Object) Costruttore

Definizione

Inizializza un'istanza del DictionaryEntry tipo con la chiave e il valore specificati.

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)

Parametri

key
Object

Oggetto definito in ogni coppia chiave/valore.

value
Object

Definizione associata a key.

Eccezioni

key è null e la versione di .NET Framework è 1.0 o 1.1.

Si applica a