Udostępnij za pośrednictwem


ArrayContractAdapter<TContract> Class

This API supports the Visual Studio Tools for Applications infrastructure and is not intended to be used directly from your code.

Represents an array of IContract objects.

Namespace:  Microsoft.VisualStudio.Tools.Applications
Assembly:  Microsoft.VisualStudio.Tools.Applications.Adapter.v9.0 (in Microsoft.VisualStudio.Tools.Applications.Adapter.v9.0.dll)

Syntax

'Declaration
Public NotInheritable Class ArrayContractAdapter(Of TContract As IContract) _
    Inherits ContractAdapterBase _
    Implements IArrayContract(Of TContract), IEnumerableContract(Of TContract),  _
    IContract
'Usage
Dim instance As ArrayContractAdapter(Of TContract)
public sealed class ArrayContractAdapter<TContract> : ContractAdapterBase, 
    IArrayContract<TContract>, IEnumerableContract<TContract>, IContract 
where TContract : IContract
generic<typename TContract>
where TContract : IContract 
public ref class ArrayContractAdapter sealed : public ContractAdapterBase, 
    IArrayContract<TContract>, IEnumerableContract<TContract>, IContract
JScript does not support generic types or methods.

Type Parameters

  • TContract
    The type of the elements of the array that the ArrayContractAdapter<TContract> represents.

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    System.AddIn.Pipeline.ContractBase
      Microsoft.VisualStudio.Tools.Applications.ContractAdapterBase
        Microsoft.VisualStudio.Tools.Applications.ArrayContractAdapter<TContract>

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ArrayContractAdapter<TContract> Members

Microsoft.VisualStudio.Tools.Applications Namespace