IVsToolboxService Interface
This interface defines additional functionality for the Visual Studio implementation of IToolboxService. When running inside Visual Studio, VSPackages can cast IToolboxService to IVsToolboxService to access this functionality.
Assembly: Microsoft.VisualStudio (in Microsoft.VisualStudio.dll)
| Name | Description | |
|---|---|---|
![]() | AddToolboxItem(ToolboxItem^, String^, IEnumerable<FrameworkName^>^, Guid) | This adds a toolbox item and sets the supported .NET Framework versions and the GUID of the VSPackage that provides the toolbox item. If this is set properly, it will skip calling into expensive DTAR (Design-Time Assembly Resolution) to ensure the minimum required framework version. |
![]() | AddToolboxItem(ToolboxItem^, String^, IVsAddToolboxItems^) | Adds a toolbox item. This does the same thing as IToolboxService.AddToolboxItem except that it adds the item by calling a method on the specified T:VisualStudio.Shell.Interop.IVsAddToolboxItems object rather than the IVsToolbox service. |
![]() | GetOleDataObject(ToolboxItem^) | Gets an OLE-compatible data object corresponding to a ToolboxItem that has been added to the toolbox. You must call AddToolboxItem before calling this method. |
