IRemoteArgumentArrayContract Interface

Definition

Represents an array of RemoteArgument objects.

public interface class IRemoteArgumentArrayContract : System::AddIn::Contract::Collections::IRemoteArgumentCollectionContract
public interface IRemoteArgumentArrayContract : System.AddIn.Contract.Collections.IRemoteArgumentCollectionContract
type IRemoteArgumentArrayContract = interface
    interface IRemoteArgumentCollectionContract
    interface IRemoteArgumentEnumerableContract
    interface IContract
Public Interface IRemoteArgumentArrayContract
Implements IRemoteArgumentCollectionContract
Derived
Implements

Remarks

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.

Methods

AcquireLifetimeToken()

Specifies that the contract is accessible to a client until the client revokes the contract.

(Inherited from IContract)
GetCount()

Returns the number of elements contained in the IRemoteArgumentCollectionContract.

(Inherited from IRemoteArgumentCollectionContract)
GetEnumeratorContract()

Returns an enumerator that can be used to iterate through the collection.

(Inherited from IRemoteArgumentEnumerableContract)
GetItem(Int32)

Returns the element at the specified index.

GetRemoteHashCode()

Returns a hash code for the IContract.

(Inherited from IContract)
QueryContract(String)

Returns a contract that is implemented by this contract.

(Inherited from IContract)
RemoteEquals(IContract)

Indicates whether the specified contract is equal to this IContract.

(Inherited from IContract)
RemoteToString()

Returns a string representation of the current IContract.

(Inherited from IContract)
RevokeLifetimeToken(Int32)

Specifies that the contract is no longer accessible to a client.

(Inherited from IContract)
SetItem(Int32, RemoteArgument)

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

Applies to