次の方法で共有


IVsToolboxDataProvider2 Interface

Provides support for additional Toolbox features. In particular, IVsToolboxDataProvider2 is used to implement Toolbox persistence through the vssettings feature. Users will save and retrieve such information through the Import/Export Settings command, found on the IDE's Tools menu.

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

Syntax

'宣言
<InterfaceTypeAttribute()> _
<GuidAttribute("1CD73232-A3C7-48FA-8B0A-2E35804097BF")> _
Public Interface IVsToolboxDataProvider2
'使用
Dim instance As IVsToolboxDataProvider2
[InterfaceTypeAttribute()]
[GuidAttribute("1CD73232-A3C7-48FA-8B0A-2E35804097BF")]
public interface IVsToolboxDataProvider2
[InterfaceTypeAttribute()]
[GuidAttribute(L"1CD73232-A3C7-48FA-8B0A-2E35804097BF")]
public interface class IVsToolboxDataProvider2
public interface IVsToolboxDataProvider2

Remarks

IVsToolboxDataProvider2 provides additional functionality for Toolbox data providers beyond the methods provided in IVsToolboxDataProvider. In particular, the methods of IVsToolboxDataProvider2 allow additional management of ID values, ToolTip text, and support for the IDE's Import/Export Settings feature.

Note

IVsToolboxDataProvider2 does not derive from IVsToolboxDataProvider and does not implement its methods. All data providers should implement both interfaces.

Notes to Implementers:

IVsToolboxDataProvider2 should be implemented by all Toolbox data providers that need to persist a non-standard tab as part of Toolbox state through the settings feature.

See Also

Reference

IVsToolboxDataProvider2 Members

Microsoft.VisualStudio.Shell.Interop Namespace