IVsToolboxDataProvider.GetItemInfo Method (IDataObject, TBXITEMINFO[])

 

Returns the item information for the specified data object.

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

int GetItemInfo(
	IDataObject pDO,
	TBXITEMINFO[] ptif
)

Parameters

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

[in] Data object for which to return item information.

ptif
Type: Microsoft.VisualStudio.Shell.Interop.TBXITEMINFO[]

[out] Item information. For more information, see TBXITEMINFO structure.

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 IVsToolboxDataProvider::GetItemInfo(
   [in]IDataObject* pDO,
   [out]PTBXITEMINFO ptif
);
Return to top
Show: