IVsToolbox3::GetItemID Method (IDataObject^, String^)
Visual Studio 2015
Gets the unique ID of a item.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Parameters
- pDO
-
Type:
Microsoft.VisualStudio.OLE.Interop::IDataObject^
An IDataObject interface to the item.
- pbstrID
-
Type:
System::String^
The ID of the item. If the item is found, but has no ID then this values is null.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell80.idl:
HRESULT GetItemID(
[in] IDataObject* pDO,
[out] BSTR* pbstrID
);
Show: