IRemoteArgumentArrayListContract.Insert(Int32, RemoteArgument) Method

Definition

Inserts a RemoteArgument into the IRemoteArgumentArrayListContract at the specified index.

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

Parameters

index
Int32

The zero-based index at which to insert item.

item
RemoteArgument

The RemoteArgument to insert.

Exceptions

index is less than zero.

-or-

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

Applies to