Edit

Share via


IRemoteArgumentArrayContract.SetItem(Int32, RemoteArgument) Method

Definition

Replaces the element at the specified index with the specified RemoteArgument.

public:
 void SetItem(int index, System::AddIn::Contract::RemoteArgument value);
public void SetItem (int index, System.AddIn.Contract.RemoteArgument value);
abstract member SetItem : int * System.AddIn.Contract.RemoteArgument -> unit
Public Sub SetItem (index As Integer, value As RemoteArgument)

Parameters

index
Int32

The zero-based index of the element to replace.

value
RemoteArgument

The new value for the element at the specified index.

Exceptions

index is less than zero.

-or-

index is equal to or greater than the return value of GetCount().

Applies to