PropertyDescriptorCollection.IDictionary.Add(Object, Object) Metodo

Definizione

Aggiunge un elemento con la chiave e il valore forniti all'interfaccia IDictionary.

 virtual void System.Collections.IDictionary.Add(System::Object ^ key, System::Object ^ value) = System::Collections::IDictionary::Add;
void IDictionary.Add (object key, object value);
abstract member System.Collections.IDictionary.Add : obj * obj -> unit
override this.System.Collections.IDictionary.Add : obj * obj -> unit
Sub Add (key As Object, value As Object) Implements IDictionary.Add

Parametri

key
Object

Oggetto Object da usare come chiave dell'elemento da aggiungere.

value
Object

Oggetto Object da usare come valore dell'elemento da aggiungere.

Implementazioni

Eccezioni

Raccolta in sola lettura.

value è null.

Si applica a