Udostępnij za pośrednictwem


InteropAdapter Class

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

Represents an adapter that wraps and exposes COM objects to the managed add-in infrastructure, and supplies managed objects to COM.

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 Class InteropAdapter _
    Inherits ContractAdapterBase _
    Implements IInteropObjectContract2, IContract
'Usage
Dim instance As InteropAdapter
public class InteropAdapter : ContractAdapterBase, 
    IInteropObjectContract2, IContract
public ref class InteropAdapter : public ContractAdapterBase, 
    IInteropObjectContract2, IContract
public class InteropAdapter extends ContractAdapterBase implements IInteropObjectContract2, IContract

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    System.AddIn.Pipeline.ContractBase
      Microsoft.VisualStudio.Tools.Applications.ContractAdapterBase
        Microsoft.VisualStudio.Tools.Applications.InteropAdapter

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

InteropAdapter Members

Microsoft.VisualStudio.Tools.Applications Namespace