IVsToolboxDataProviderRegistry 接口

注册工具箱数据提供程序。使用注册工具箱数据提供程序。

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

语法

声明
<GuidAttribute("653BE2DA-BA98-41B7-8ABC-7A38B0E1C01A")> _
<InterfaceTypeAttribute()> _
Public Interface IVsToolboxDataProviderRegistry
[GuidAttribute("653BE2DA-BA98-41B7-8ABC-7A38B0E1C01A")]
[InterfaceTypeAttribute()]
public interface IVsToolboxDataProviderRegistry

IVsToolboxDataProviderRegistry 类型公开以下成员。

方法

  名称 说明
公共方法 RegisterDataProvider 注册工具箱数据提供程序。
公共方法 UnregisterDataProvider

页首

备注

IVsToolboxDataProviderRegistryIVsToolbox2找到的两个方法提供了一个替代实现。使用 IVsToolboxDataProviderRegistry 方法,在 VSPackage 需要注册工具箱数据提供程序时 (通常,在 VSPackage 加载时),但不需要产生的性能开销与预加载整个工具箱。

对调用者的说明

调用带有需要注册工具箱数据提供程序,而不会导致预加载工具箱的性能成本的包。

请参见

参考

Microsoft.VisualStudio.Shell.Interop 命名空间