Partager via


IVsToolboxDataProvider2 Interface

Definition

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.

public interface class IVsToolboxDataProvider2
public interface class IVsToolboxDataProvider2
__interface IVsToolboxDataProvider2
[System.Runtime.InteropServices.Guid("1CD73232-A3C7-48FA-8B0A-2E35804097BF")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsToolboxDataProvider2
[<System.Runtime.InteropServices.Guid("1CD73232-A3C7-48FA-8B0A-2E35804097BF")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsToolboxDataProvider2 = interface
Public Interface IVsToolboxDataProvider2
Attributes

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.

Methods

GetDisplayName(String)

Retrieves the localized name of the data provider.

GetItemID(IDataObject, String)

Used by the environment to retrieve and saves the canonical ID for the given Toolbox tab when a user selects the export option from the Import/Export Settings feature available on the IDE’s Tools menu.

GetItemTipInfo(IDataObject, String, IPropertyBag)

Supplies ToolTip data for a Toolbox item.

GetPackageGUID(Guid)

Retrieves the GUID of the VSPackage to which this data provider belongs.

GetProfileData(IDataObject, String)

Obtains any extra information, if needed, about a Toolbox item which can be saved through the settings mechanism using the Import/Export Settings feature available on the IDE’ Tools menu.

GetUniqueID(Guid)

Retrieves the unique ID for the given Toolbox tab.

ReconstituteItem(String, String, String, IDataObject, TBXITEMINFO[])

Recreates a Toolbox item from data stored using the settings mechanism when a user chooses to retrieve settings using the Import/Export Settings feature available on the IDE’s Tools menu.

Applies to