PropertyDescriptorCollection.IDictionary.Add(Object, Object) Método

Definição

Adiciona um elemento com a chave fornecida e o valor para o 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

Parâmetros

key
Object

O Object a ser usado como chave do elemento a ser adicionado.

value
Object

O Object a ser usado como valor do elemento a ser adicionado.

Implementações

Exceções

A coleção é somente leitura.

value é null.

Aplica-se a