This documentation is archived and is not being maintained.
IArrayContract<C> Interface
Visual Studio 2010
Represents a generic array of IContract objects.
Assembly: System.AddIn.Contract (in System.AddIn.Contract.dll)
The IArrayContract<C> type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | 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 IArrayContract<C>. |
![]() | GetEnumeratorContract | Returns an enumerator that iterates through the collection. (Inherited from IEnumerableContract<C>.) |
![]() | GetItem | Returns the element at the specified index. |
![]() | GetRemoteHashCode | Returns a hash code for the IContract. (Inherited from IContract.) |
![]() | QueryContract | Returns a contract that is implemented by this contract. (Inherited from IContract.) |
![]() | RemoteEquals | 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 | Specifies that the contract is no longer accessible to a client. (Inherited from IContract.) |
![]() | SetItem | Replaces the element at the specified index with the specified IContract. |
Use an IArrayContract<C> to pass an array of IContract objects between contracts by reference.
An IArrayContract<C> does not dynamically resize itself.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
