IVsProvideTargetedToolboxItems Interface

Definition

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.

public interface class IVsProvideTargetedToolboxItems
public interface class IVsProvideTargetedToolboxItems
__interface IVsProvideTargetedToolboxItems
[System.Runtime.InteropServices.Guid("CDF20EE2-B038-42EA-AA42-E1CAAFFCDCA5")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsProvideTargetedToolboxItems
[<System.Runtime.InteropServices.Guid("CDF20EE2-B038-42EA-AA42-E1CAAFFCDCA5")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsProvideTargetedToolboxItems = interface
Public Interface IVsProvideTargetedToolboxItems
Attributes

Remarks

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

Methods

AddNewTypesForNewFramework(String, String, IVsAddToolboxItems)

Adds new types.

GetInstanceOfExistingTypeForNewFramework(IDataObject, String, IVsAddToolboxItems)

Passes information about the existing packages to the one being added.

Applies to