Share via


IVsComponentModelHost Interface

Exposes information needed for Visual Studio MEF hosting. You can get this interface via the SVsComponentModelHost service.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

Syntax

'Declaration
<GuidAttribute("C442A6B0-3F06-4003-912D-9B8CB750C5E7")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
Public Interface IVsComponentModelHost
[GuidAttribute("C442A6B0-3F06-4003-912D-9B8CB750C5E7")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsComponentModelHost
[GuidAttribute(L"C442A6B0-3F06-4003-912D-9B8CB750C5E7")]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
public interface class IVsComponentModelHost
[<GuidAttribute("C442A6B0-3F06-4003-912D-9B8CB750C5E7")>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
type IVsComponentModelHost =  interface end
public interface IVsComponentModelHost

The IVsComponentModelHost type exposes the following members.

Methods

  Name Description
Public method GetCatalogCacheFolder Returns the path of the folder that can be used for storing MEF catalog caches.
Public method GetComponentAssemblies Gets the component assemblies discovered.
Public method QueryLoadComponentAssemblies Allows the host to filter the assemblies that are included in a catalog.

Top

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace