IVsAddToolboxItems.AddItemWithOwningPackage Method

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

Syntax

‘선언
Function AddItemWithOwningPackage ( _
    pDO As IDataObject, _
    ptif As TBXITEMINFO(), _
    szItemID As String, _
    lpszTab As String, _
    ByRef guidPkg As Guid _
) As Integer
‘사용 방법
Dim instance As IVsAddToolboxItems
Dim pDO As IDataObject
Dim ptif As TBXITEMINFO()
Dim szItemID As String
Dim lpszTab As String
Dim guidPkg As Guid
Dim returnValue As Integer

returnValue = instance.AddItemWithOwningPackage(pDO, _
    ptif, szItemID, lpszTab, guidPkg)
int AddItemWithOwningPackage(
    IDataObject pDO,
    TBXITEMINFO[] ptif,
    string szItemID,
    string lpszTab,
    ref Guid guidPkg
)
int AddItemWithOwningPackage(
    [InAttribute] IDataObject^ pDO, 
    [InAttribute] array<TBXITEMINFO>^ ptif, 
    [InAttribute] String^ szItemID, 
    [InAttribute] String^ lpszTab, 
    [InAttribute] Guid% guidPkg
)
abstract AddItemWithOwningPackage : 
        pDO:IDataObject * 
        ptif:TBXITEMINFO[] * 
        szItemID:string * 
        lpszTab:string * 
        guidPkg:Guid byref -> int 
function AddItemWithOwningPackage(
    pDO : IDataObject, 
    ptif : TBXITEMINFO[], 
    szItemID : String, 
    lpszTab : String, 
    guidPkg : Guid
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

IVsAddToolboxItems Interface

IVsAddToolboxItems Members

Microsoft.VisualStudio.Shell.Interop Namespace