IVsToolbox2::SetItemInfo Method (IDataObject^, array<TBXITEMINFO>^)

 

Sets information for the referenced item.

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

int SetItemInfo(
	IDataObject^ pDO,
	array<TBXITEMINFO>^ ptif
)

Parameters

pDO
Type: Microsoft.VisualStudio.OLE.Interop::IDataObject^

[in] Data object to set information for.

ptif
Type: array<Microsoft.VisualStudio.Shell.Interop::TBXITEMINFO>^

[in] Structure containing the item information to set for the data object. For a list of ptif values, see TBXITEMINFO.

Return Value

Type: System::Int32

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

From vsshell.idl:

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