IRemoteArgumentDictionaryContract.Add(RemoteArgument, RemoteArgument) Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
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.