This documentation is archived and is not being maintained.

IVsProvideTargetedToolboxItems Interface

Provides toolbox items from new frameworks. Packages implement this interface (on the same object as IVsPackage) to provide toolbox content in response to the presence of new frameworks. This is used to facilitate compatibility with future out-of-band framework releases by allowing existing packages to provide updated content from new frameworks after they are installed.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

public interface IVsProvideTargetedToolboxItems

The IVsProvideTargetedToolboxItems type exposes the following members.

Public methodAddNewTypesForNewFrameworkAdds new types.
Public methodGetInstanceOfExistingTypeForNewFrameworkPasses information about the existing packages to the one being added.

Items added by these methods must have multi-targeting metadata set using IVsDataObjectStringMapManager (specific exceptions are noted in the method descriptions).