Assembly: Microsoft.VisualStudio.Shell.Interop (in microsoft.visualstudio.shell.interop.dll)
[GuidAttribute("F925DA6B-3F43-4437-9E1E-4D4C1BBDAB3F")] [InterfaceTypeAttribute(1)] public interface IVsToolboxDataProvider
/** @attribute GuidAttribute("F925DA6B-3F43-4437-9E1E-4D4C1BBDAB3F") */ /** @attribute InterfaceTypeAttribute(1) */ public interface IVsToolboxDataProvider
VAPackages implementing IVsToolboxDataProvider should also implement the IVsToolboxDataProvider interface, which provides support for persisting toolbox items.
The methods of IVsToolboxDataProvider are called whenever the Toolbox has new items (data objects) added to it. For example, the environment calls each registered data provider withto determine whether any of the data providers support the new data object. If a data provider supports the data object (that is, returns ), then the data object is added to the Toolbox.
To register a data provider with the Toolbox, callNotes to Implementers Implemented by objects that provide items (data objects) to the Toolbox. Notes to Callers Called by the environment when new data objects are added to the Toolbox. The environment calls the methods of IVsToolboxDataProvider to obtain information about the data objects being added. and pass a pointer to your implementation of IVsToolboxDataProvider. The default Toolbox data provider is for ActiveX objects.