IRemoteArgumentDictionaryContract.Add(RemoteArgument, RemoteArgument) Método

Definição

Adiciona um elemento com uma chave e valor especificados ao IRemoteArgumentDictionaryContract.

public:
 void Add(System::AddIn::Contract::RemoteArgument key, System::AddIn::Contract::RemoteArgument value);
public void Add(System.AddIn.Contract.RemoteArgument key, System.AddIn.Contract.RemoteArgument value);
abstract member Add : System.AddIn.Contract.RemoteArgument * System.AddIn.Contract.RemoteArgument -> unit
Public Sub Add (key As RemoteArgument, value As RemoteArgument)

Parâmetros

key
RemoteArgument

O RemoteArgument to use como a chave do elemento a adicionar.

value
RemoteArgument

O RemoteArgument to use como valor do elemento a adicionar.

Exceções

Um elemento com a mesma chave já existe no IRemoteArgumentDictionaryContract.

Aplica-se a