共用方式為


IVsComponentModelHost Interface

Definition

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

public interface class IVsComponentModelHost
public interface class IVsComponentModelHost
__interface IVsComponentModelHost
[System.Runtime.InteropServices.Guid("C442A6B0-3F06-4003-912D-9B8CB750C5E7")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsComponentModelHost
[<System.Runtime.InteropServices.Guid("C442A6B0-3F06-4003-912D-9B8CB750C5E7")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsComponentModelHost = interface
Public Interface IVsComponentModelHost
Attributes

Methods

GetCatalogCacheFolder(String)

Returns the path of the folder that can be used for storing MEF catalog caches.

GetComponentAssemblies(UInt32, String[], UInt32)

Gets the component assemblies discovered.

QueryLoadComponentAssemblies(UInt32, String[], Boolean[])

Allows the host to filter the assemblies that are included in a catalog.

Applies to