IRemoteArgumentArrayContract.GetItem Method (Int32)

 

Returns the element at the specified index.

Namespace:   System.AddIn.Contract.Collections
Assembly:  System.AddIn.Contract (in System.AddIn.Contract.dll)

RemoteArgument GetItem(
	int index
)

Parameters

index
Type: System.Int32

The zero-based index of the element to return.

Return Value

Type: System.AddIn.Contract.RemoteArgument

The element at the specified index.

Exception Condition
IndexOutOfRangeException

index is less than zero.

-or-

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

.NET Framework
Available since 3.5
Return to top
Show: