Export (0) Print
Expand All

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)

int SetItemInfo (
	[InAttribute] IDataObject pDO,
	[InAttribute] TBXITEMINFO[] ptif
)
int SetItemInfo (
	/** @attribute InAttribute() */ IDataObject pDO, 
	/** @attribute InAttribute() */ TBXITEMINFO[] ptif
)
function SetItemInfo (
	pDO : IDataObject, 
	ptif : TBXITEMINFO[]
) : int

Parameters

pDO

[in] Data object to set information for.

ptif

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

Return Value

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

COM Signature

From vsshell.idl:

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

Community Additions

ADD
Show:
© 2015 Microsoft