IVsToolboxService2 Interface

This interface defines additional functionality implemented by the Visual Studio implementation of IToolboxService.. When running in Visual Studio, packages can cast IToolboxService to IVsToolboxService2 to access this functionality.

This API is not CLS-compliant. 

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

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
<ComVisibleAttribute(False)> _
Public Interface IVsToolboxService2
[CLSCompliantAttribute(false)]
[ComVisibleAttribute(false)]
public interface IVsToolboxService2
[CLSCompliantAttribute(false)]
[ComVisibleAttribute(false)]
public interface class IVsToolboxService2
[<CLSCompliantAttribute(false)>]
[<ComVisibleAttribute(false)>]
type IVsToolboxService2 =  interface end
public interface IVsToolboxService2

The IVsToolboxService2 type exposes the following members.

Methods

  Name Description
Public method AddToolboxItems Adds multiple toolbox items to the toolbox. This method avoids repopulation of the internal managed cache after each item is added, so that it is more efficient for bulk operations.
Public method RemoveCategory Removes a category (tab) from the toolbox.
Public method RemoveToolboxItems Removes multiple toolbox items from the toolbox. This method avoids repopulation of the internal managed cache after each item is removed, so that it is more efficient for bulk operations.

Top

See Also

Reference

Microsoft.VisualStudio.Toolbox Namespace