Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
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: 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.