Partager via


IVsToolboxDataProviderRegistry Interface

Registers a Toolbox data provider.

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

Syntax

'Declaration
<GuidAttribute("653BE2DA-BA98-41B7-8ABC-7A38B0E1C01A")> _
<InterfaceTypeAttribute()> _
Public Interface IVsToolboxDataProviderRegistry
[GuidAttribute("653BE2DA-BA98-41B7-8ABC-7A38B0E1C01A")]
[InterfaceTypeAttribute()]
public interface IVsToolboxDataProviderRegistry
[GuidAttribute(L"653BE2DA-BA98-41B7-8ABC-7A38B0E1C01A")]
[InterfaceTypeAttribute()]
public interface class IVsToolboxDataProviderRegistry
[<GuidAttribute("653BE2DA-BA98-41B7-8ABC-7A38B0E1C01A")>]
[<InterfaceTypeAttribute()>]
type IVsToolboxDataProviderRegistry =  interface end
public interface IVsToolboxDataProviderRegistry

The IVsToolboxDataProviderRegistry type exposes the following members.

Methods

  Name Description
Public method RegisterDataProvider Registers a Toolbox data provider.
Public method UnregisterDataProvider Unregisters the Toolbox data provider.

Top

Remarks

IVsToolboxDataProviderRegistry provides an alternative implementation for the two methods found in IVsToolbox2. The IVsToolboxDataProviderRegistry methods are used when a VSPackage needs to register a Toolbox data provider (typically when the VSPackage is loaded) but does not need to incur the performance cost associated with preloading the entire Toolbox itself.

Notes to Callers

Called by VS Packages that want to register a Toolbox data provider without incurring the performance cost of preloading the Toolbox itself.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace