IVsToolboxDataProvider.GetItemInfo(IDataObject, TBXITEMINFO[]) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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);
C++/WinRT
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
- pDO
- IDataObject
[in] Data object for which to return item information.
- ptif
- TBXITEMINFO[]
[out] Item information. For more information, see TBXITEMINFO structure.
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
cpp#
HRESULT IVsToolboxDataProvider::GetItemInfo(
[in]IDataObject* pDO,
[out]PTBXITEMINFO ptif
);
Proizvod | Verzije |
---|---|
Visual Studio SDK | 2015, 2017, 2019, 2022 |