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
- pExistingItem
Type: Microsoft.VisualStudio.OLE.Interop.IDataObject
[in] Interface to the data object with information about providers with the same ID.
- szNewTFM
Type: System.String
[in] A new TFM.
- pAdder
Type: Microsoft.VisualStudio.Shell.Interop.IVsAddToolboxItems
[in] Interface to use to add items to the tool box.
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