IRemoteArgumentArrayContract.GetItem(Int32) Method

Definition

Returns the element at the specified index.

public:
 System::AddIn::Contract::RemoteArgument GetItem(int index);
public System.AddIn.Contract.RemoteArgument GetItem (int index);
abstract member GetItem : int -> System.AddIn.Contract.RemoteArgument
Public Function GetItem (index As Integer) As RemoteArgument

Parameters

index
Int32

The zero-based index of the element to return.

Returns

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