IRemoteArgumentDictionaryContract.Add(RemoteArgument, RemoteArgument) Method

Definition

Adds an element with a specified key and value to the IRemoteArgumentDictionaryContract.

public void Add (System.AddIn.Contract.RemoteArgument key, System.AddIn.Contract.RemoteArgument value);

Parameters

key
RemoteArgument

The RemoteArgument to use as the key of the element to add.

value
RemoteArgument

The RemoteArgument to use as the value of the element to add.

Exceptions

An element with the same key already exists in the IRemoteArgumentDictionaryContract.

Applies to

Product Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1