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.

This API is not CLS-compliant. 

Namespace:  Microsoft.VisualStudio.Toolbox
Assembly:  Microsoft.VisualStudio (in Microsoft.VisualStudio.dll)

[CLSCompliantAttribute(false)]
[ComVisibleAttribute(false)]
public interface IVsToolboxService

The IVsToolboxService type exposes the following members.

  NameDescription
Public methodAddToolboxItem(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 IVsAddToolboxItems object rather than the IVsToolbox service.
Public methodAddToolboxItem(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.
Public methodGetOleDataObjectGets an OLE-compatible data object corresponding to a ToolboxItem that has been added to the toolbox. You must call AddToolboxItem before calling this method.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft