Edit

Share via


IEnumerableContract<C> Interface

Definition

Exposes an enumerator that supports a simple iteration over a generic collection of IContract objects.

generic <typename C>
 where C : IContractpublic interface class IEnumerableContract : System::AddIn::Contract::IContract
public interface IEnumerableContract<C> : System.AddIn.Contract.IContract where C : IContract
type IEnumerableContract<'C (requires 'C :> IContract)> = interface
    interface IContract
Public Interface IEnumerableContract(Of C)
Implements IContract

Type Parameters

C

The type of objects to enumerate. C must implement the IContract interface.

Derived
Implements

Methods

AcquireLifetimeToken()

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

(Inherited from IContract)
GetEnumeratorContract()

Returns an enumerator that iterates through the collection.

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)

Applies to