Export (0) Print
Expand All

IRemoteArgumentArrayContract Interface

Represents an array of RemoteArgument objects.

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

public interface IRemoteArgumentArrayContract : IRemoteArgumentCollectionContract, 
	IRemoteArgumentEnumerableContract, IContract

The IRemoteArgumentArrayContract type exposes the following members.

Public methodAcquireLifetimeTokenSpecifies that the contract is accessible to a client until the client revokes the contract. (Inherited from IContract.)
Public methodGetCountReturns the number of elements contained in the IRemoteArgumentCollectionContract. (Inherited from IRemoteArgumentCollectionContract.)
Public methodGetEnumeratorContractReturns an enumerator that can be used to iterate through the collection. (Inherited from IRemoteArgumentEnumerableContract.)
Public methodGetItemReturns the element at the specified index.
Public methodGetRemoteHashCodeReturns a hash code for the IContract. (Inherited from IContract.)
Public methodQueryContractReturns a contract that is implemented by this contract. (Inherited from IContract.)
Public methodRemoteEqualsIndicates whether the specified contract is equal to this IContract. (Inherited from IContract.)
Public methodRemoteToStringReturns a string representation of the current IContract. (Inherited from IContract.)
Public methodRevokeLifetimeTokenSpecifies that the contract is no longer accessible to a client. (Inherited from IContract.)
Public methodSetItemReplaces the element at the specified index with the specified RemoteArgument.

Use an IRemoteArgumentArrayContract to pass an array of RemoteArgument objects between contracts by reference.

An IRemoteArgumentArrayContract does not dynamically resize itself. If you need to use a collection that dynamically resizes itself, use the IRemoteArgumentArrayListContract interface.

.NET Framework

Supported in: 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

© 2014 Microsoft