共用方式為


IComponentModel2 Interface

Namespace:  Microsoft.VisualStudio.ComponentModelHost
Assembly:  Microsoft.VisualStudio.ComponentModelHost (in Microsoft.VisualStudio.ComponentModelHost.dll)

Syntax

'宣告
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

The IComponentModel2 type exposes the following members.

Properties

  Name Description
Public property DefaultCatalog (Inherited from IComponentModel.)
Public property DefaultCompositionService (Inherited from IComponentModel.)
Public property DefaultExportProvider (Inherited from IComponentModel.)
Public property DefaultScopedCatalog

Top

Methods

  Name Description
Public method GetCatalog (Inherited from IComponentModel.)
Public method GetExtensions<T> (Inherited from IComponentModel.)
Public method GetService<T> (Inherited from IComponentModel.)

Top

See Also

Reference

Microsoft.VisualStudio.ComponentModelHost Namespace