Compartir a través de


IVsToolboxDataProvider.GetItemInfo(IDataObject, TBXITEMINFO[]) Method

Definition

Returns the item information for the specified data object.

public:
 int GetItemInfo(Microsoft::VisualStudio::OLE::Interop::IDataObject ^ pDO, cli::array <Microsoft::VisualStudio::Shell::Interop::TBXITEMINFO> ^ ptif);
int GetItemInfo(Microsoft::VisualStudio::OLE::Interop::IDataObject const & pDO, std::Array <Microsoft::VisualStudio::Shell::Interop::TBXITEMINFO> const & ptif);
public int GetItemInfo (Microsoft.VisualStudio.OLE.Interop.IDataObject pDO, Microsoft.VisualStudio.Shell.Interop.TBXITEMINFO[] ptif);
abstract member GetItemInfo : Microsoft.VisualStudio.OLE.Interop.IDataObject * Microsoft.VisualStudio.Shell.Interop.TBXITEMINFO[] -> int
Public Function GetItemInfo (pDO As IDataObject, ptif As TBXITEMINFO()) As Integer

Parameters

pDO
IDataObject

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

ptif
TBXITEMINFO[]

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

Returns

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsToolboxDataProvider::GetItemInfo(  
   [in]IDataObject* pDO,  
   [out]PTBXITEMINFO ptif  
);  

Applies to