IComponentModel2 接口

Provides the ability to access the default MEF composition container and catalogs of Visual Studio.

命名空间:  Microsoft.VisualStudio.ComponentModelHost
程序集:  Microsoft.VisualStudio.ComponentModelHost(在 Microsoft.VisualStudio.ComponentModelHost.dll 中)

语法

声明
Public Interface IComponentModel2 _
    Inherits IComponentModel
public interface IComponentModel2 : IComponentModel
public interface class IComponentModel2 : IComponentModel
type IComponentModel2 =  
    interface 
        interface IComponentModel 
    end
public interface IComponentModel2 extends IComponentModel

IComponentModel2 类型公开以下成员。

属性

  名称 说明
公共属性 DefaultCatalog (继承自 IComponentModel。)
公共属性 DefaultCompositionService (继承自 IComponentModel。)
公共属性 DefaultExportProvider (继承自 IComponentModel。)
公共属性 DefaultScopedCatalog Gets the default scoped Visual Studio catalog.

页首

方法

  名称 说明
公共方法 GetCatalog (继承自 IComponentModel。)
公共方法 GetExtensions<T> (继承自 IComponentModel。)
公共方法 GetService<T> (继承自 IComponentModel。)

页首

请参阅

参考

Microsoft.VisualStudio.ComponentModelHost 命名空间