DictionaryEntry(Object, Object) Constructeur
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Initialise une instance du type DictionaryEntry à l'aide de la clé et de la valeur spécifiées.
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)
Paramètres
- key
- Object
Objet défini dans chaque paire clé/valeur.
- value
- Object
Définition associée à key.
Exceptions
key a la valeur null et la version du .NET Framework est 1.0 ou 1.1.
Remarques
Dans .NET Framework 2.0 key peut être null.