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 DictionaryEntry type avec la clé et la valeur spécifiées.
public:
DictionaryEntry(System::Object ^ key, System::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 est null et la version .NET Framework est 1.0 ou 1.1.