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
- pExistingItem
Type: Microsoft.VisualStudio.OLE.Interop.IDataObject
- szNewTFM
Type: System.String
Return Value
Type: System.Int32
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsProvideTargetedToolboxItems Interface