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)

Syntax

'Declaration
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
<GuidAttribute("CDF20EE2-B038-42EA-AA42-E1CAAFFCDCA5")> _
Public Interface IVsProvideTargetedToolboxItems
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("CDF20EE2-B038-42EA-AA42-E1CAAFFCDCA5")]
public interface IVsProvideTargetedToolboxItems
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
[GuidAttribute(L"CDF20EE2-B038-42EA-AA42-E1CAAFFCDCA5")]
public interface class IVsProvideTargetedToolboxItems
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
[<GuidAttribute("CDF20EE2-B038-42EA-AA42-E1CAAFFCDCA5")>]
type IVsProvideTargetedToolboxItems =  interface end
public interface IVsProvideTargetedToolboxItems

The IVsProvideTargetedToolboxItems type exposes the following members.

Methods

  Name Description
Public method AddNewTypesForNewFramework Adds new types.
Public method GetInstanceOfExistingTypeForNewFramework Passes information about the existing packages to the one being added.

Top

Remarks

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

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace