Compartir a través de


IVsProvideTargetedToolboxItems.GetInstanceOfExistingTypeForNewFramework Method

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

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

Syntax

'Declaración
Function GetInstanceOfExistingTypeForNewFramework ( _
    pExistingItem As IDataObject, _
    szNewTFM As String, _
    pAdder As IVsAddToolboxItems _
) As Integer
'Uso
Dim instance As IVsProvideTargetedToolboxItems
Dim pExistingItem As IDataObject
Dim szNewTFM As String
Dim pAdder As IVsAddToolboxItems
Dim returnValue As Integer

returnValue = instance.GetInstanceOfExistingTypeForNewFramework(pExistingItem, _
    szNewTFM, pAdder)
int GetInstanceOfExistingTypeForNewFramework(
    IDataObject pExistingItem,
    string szNewTFM,
    IVsAddToolboxItems pAdder
)
int GetInstanceOfExistingTypeForNewFramework(
    [InAttribute] IDataObject^ pExistingItem, 
    [InAttribute] String^ szNewTFM, 
    [InAttribute] IVsAddToolboxItems^ pAdder
)
abstract GetInstanceOfExistingTypeForNewFramework : 
        pExistingItem:IDataObject * 
        szNewTFM:string * 
        pAdder:IVsAddToolboxItems -> int 
function GetInstanceOfExistingTypeForNewFramework(
    pExistingItem : IDataObject, 
    szNewTFM : String, 
    pAdder : IVsAddToolboxItems
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

IVsProvideTargetedToolboxItems Interface

IVsProvideTargetedToolboxItems Members

Microsoft.VisualStudio.Shell.Interop Namespace