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)

[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("CDF20EE2-B038-42EA-AA42-E1CAAFFCDCA5")]
public interface IVsProvideTargetedToolboxItems

The IVsProvideTargetedToolboxItems type exposes the following members.

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

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

Show: