PropertyDescriptorCollection.IDictionary.Add(Object, Object) PropertyDescriptorCollection.IDictionary.Add(Object, Object) PropertyDescriptorCollection.IDictionary.Add(Object, Object) Method

Definición

Agrega un elemento con la clave y el valor proporcionados a IDictionary.Adds an element with the provided key and value to the IDictionary.

 virtual void System.Collections.IDictionary.Add(System::Object ^ key, System::Object ^ value) = System::Collections::IDictionary::Add;
void IDictionary.Add (object key, object value);
Sub Add (key As Object, value As Object) Implements IDictionary.Add

Parámetros

key
Object Object Object

Object que se va a utilizar como clave del elemento que se va a agregar.The Object to use as the key of the element to add.

value
Object Object Object

Object que se va a utilizar como valor del elemento que se va a agregar.The Object to use as the value of the element to add.

Implementaciones

Excepciones

La colección es de solo lectura.The collection is read-only.

Se aplica a