Delen via


IVsToolbox2.SetItemInfo Method

Sets information for the referenced item.

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

Syntax

'Declaration
Function SetItemInfo ( _
    pDO As IDataObject, _
    ptif As TBXITEMINFO() _
) As Integer
int SetItemInfo(
    IDataObject pDO,
    TBXITEMINFO[] ptif
)
int SetItemInfo(
    [InAttribute] IDataObject^ pDO, 
    [InAttribute] array<TBXITEMINFO>^ ptif
)
abstract SetItemInfo : 
        pDO:IDataObject * 
        ptif:TBXITEMINFO[] -> int
function SetItemInfo(
    pDO : IDataObject, 
    ptif : TBXITEMINFO[]
) : int

Parameters

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsToolbox2::SetItemInfo(
   [in]IDataObject* pDO,
   [in]PTBXITEMINFO ptif
);

.NET Framework Security

See Also

Reference

IVsToolbox2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace