Freigeben über


IVsToolbox.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
'Usage
Dim instance As IVsToolbox
Dim pDO As IDataObject
Dim ptif As TBXITEMINFO()
Dim returnValue As Integer

returnValue = instance.SetItemInfo(pDO, _
    ptif)
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: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

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

.NET Framework Security

See Also

Reference

IVsToolbox Interface

IVsToolbox Members

Microsoft.VisualStudio.Shell.Interop Namespace