共用方式為


IVsToolboxDataProviderRegistry Interface

Registers a Toolbox data provider. Used to register 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

'宣告
<InterfaceTypeAttribute()> _
<GuidAttribute("653BE2DA-BA98-41B7-8ABC-7A38B0E1C01A")> _
Public Interface IVsToolboxDataProviderRegistry
'用途
Dim instance As IVsToolboxDataProviderRegistry
[InterfaceTypeAttribute()]
[GuidAttribute("653BE2DA-BA98-41B7-8ABC-7A38B0E1C01A")]
public interface IVsToolboxDataProviderRegistry
[InterfaceTypeAttribute()]
[GuidAttribute(L"653BE2DA-BA98-41B7-8ABC-7A38B0E1C01A")]
public interface class IVsToolboxDataProviderRegistry
public interface IVsToolboxDataProviderRegistry

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

IVsToolboxDataProviderRegistry Members

Microsoft.VisualStudio.Shell.Interop Namespace