共用方式為


IVsProvideTargetedToolboxItems.GetInstanceOfExistingTypeForNewFramework Method

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

Syntax

'宣告
Function GetInstanceOfExistingTypeForNewFramework ( _
    pExistingItem As IDataObject, _
    szNewTFM As String, _
    pAdder As IVsAddToolboxItems _
) As Integer
'用途
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